Class OAuthClientProviderEncryptionConfiguration.MigrationLiquibaseConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration.LiquibaseConfiguration
com.broadleafcommerce.auth.client.provider.jpa.autoconfigure.OAuthClientProviderEncryptionConfiguration.MigrationLiquibaseConfiguration
- Enclosing class:
- OAuthClientProviderEncryptionConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnMissingBean(liquibase.integration.spring.SpringLiquibase.class)
@EnableConfigurationProperties({org.springframework.boot.autoconfigure.jdbc.DataSourceProperties.class,org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties.class})
public static class OAuthClientProviderEncryptionConfiguration.MigrationLiquibaseConfiguration
extends org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration.LiquibaseConfiguration
Override of the default
LiquibaseAutoConfiguration.LiquibaseConfiguration
to autowire the
authClientPersistenceKey bean and set it to
EncryptionMigrationTask.setSecretKey(javax.crypto.SecretKey)
.- Author:
- Cade Rea (cade-rea)
-
Constructor Summary
ConstructorDescriptionMigrationLiquibaseConfiguration
(SecretKey authClientPersistenceKey) Autowire the authClientPersistenceKey and set it on theEncryptionMigrationTask
. -
Method Summary
Methods inherited from class org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration.LiquibaseConfiguration
liquibase
-
Constructor Details
-
MigrationLiquibaseConfiguration
Autowire the authClientPersistenceKey and set it on theEncryptionMigrationTask
.- Parameters:
authClientPersistenceKey
- The secret key used byEncryptedFieldConverter
to encrypt and decrypt entity fields.
-