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 via
EncryptedFieldConverter
.- Author:
- Nathan Moore (nathandmoore)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Override of the defaultLiquibaseAutoConfiguration.LiquibaseConfiguration
to autowire the authClientPersistenceKey bean and set it toEncryptionMigrationTask.setSecretKey(javax.crypto.SecretKey)
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
OAuthClientProviderEncryptionConfiguration
public OAuthClientProviderEncryptionConfiguration()
-
-
Method Details
-
authClientPersistenceKey
@Bean @ConditionalOnMissingBean(name="authClientPersistenceKey") public SecretKey authClientPersistenceKey(AuthClientProviderEncryptionProperties properties)
-