AbstractRememberMeManager.setCipherKey

Convenience method that sets the cipher key to use for <em>both</em> encryption and decryption. <p/> <b>N.B.</b> This method can only be called if the underlying {@link #getCipherService() cipherService} is a symmetric CipherService?which by definition uses the same key for both encryption and decryption. If using an asymmetric CipherService?(such as a public/private key pair), you cannot use this method, and should instead use the {@link #setEncryptionCipherKey(byte[])} and {@link #setDecryptionCipherKey(byte[])} methods individually. <p/> The default {@link AesCipherService} instance is a symmetric CipherService, so this method can be used if you are using the default.

@param cipherKey the symmetric cipher key to use for both encryption and decryption.

class AbstractRememberMeManager
void
setCipherKey
(
byte[] cipherKey
)

Meta