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
Constructors Constructor Description AuthClientProviderEncryptionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncodedKey()
AES 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.
-
-
-
Method Detail
-
getEncodedKey
public String 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
public void setEncodedKey(String encodedKey)
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();
-
-