Class OAuthClientProviderEncryptionConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.client.provider.jpa.autoconfigure.OAuthClientProviderEncryptionConfiguration
-
@Configuration @EnableConfigurationProperties(AuthClientProviderEncryptionProperties.class) public class OAuthClientProviderEncryptionConfiguration extends Object
Configuration to support encrypting entity fields viaEncryptedFieldConverter
.- Author:
- Nathan Moore (nathandmoore)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OAuthClientProviderEncryptionConfiguration.MigrationLiquibaseConfiguration
Override of the defaultLiquibaseAutoConfiguration.LiquibaseConfiguration
to autowire the authClientPersistenceKey bean and set it toEncryptionMigrationTask.setSecretKey(javax.crypto.SecretKey)
.
-
Constructor Summary
Constructors Constructor Description OAuthClientProviderEncryptionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretKey
authClientPersistenceKey(AuthClientProviderEncryptionProperties properties)
-
-
-
Method Detail
-
authClientPersistenceKey
@Bean @ConditionalOnMissingBean(name="authClientPersistenceKey") public SecretKey authClientPersistenceKey(AuthClientProviderEncryptionProperties properties)
-
-