If the generateKeyValue method in the Key Type plugin type is static, it can be called without needing to instantiate a Key class, in order to produce a key value that fits the requirements specific to the key type. In order for this to work properly, the method should receive configuration settings as a parameter and it must be assumed that there are no other inputs (such as a key entity) necessary to generate the key value.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | make_generatekeyvalue_a-2646386-2.patch | 1.9 KB | rlhawk |
Comments
Comment #2
rlhawkHere's a patch.
Comment #4
rlhawkComment #6
rlhawk