Class AuthClientProviderEncryptionProperties
java.lang.Object
com.broadleafcommerce.auth.client.provider.jpa.autoconfigure.AuthClientProviderEncryptionProperties
@ConfigurationProperties("broadleaf.auth.client.provider.encryption")
public class AuthClientProviderEncryptionProperties
extends Object
Properties used for encrypted columns.
- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAES secret key used for symmetric encryption of persisted secure data.void
setEncodedKey
(String encodedKey) AES secret key used for symmetric encryption of persisted secure data.
-
Constructor Details
-
AuthClientProviderEncryptionProperties
public AuthClientProviderEncryptionProperties()
-
-
Method Details
-
getEncodedKey
AES secret key used for symmetric encryption of persisted secure data.Example key generation using an AES algorithm with a keysize of 256.
KeyGenerator keyGenerator = javax.crypto.KeyGenerator.getInstance("AES"); keyGenerator.init(256); SecretKey secretKey = keyGenerator.generateKey();
-
setEncodedKey
AES secret key used for symmetric encryption of persisted secure data.Example key generation using an AES algorithm with a keysize of 256.
KeyGenerator keyGenerator = javax.crypto.KeyGenerator.getInstance("AES"); keyGenerator.init(256); SecretKey secretKey = keyGenerator.generateKey();
-