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 Details

    • MigrationLiquibaseConfiguration

      public MigrationLiquibaseConfiguration(SecretKey authClientPersistenceKey)
      Autowire the authClientPersistenceKey and set it on the EncryptionMigrationTask.
      Parameters:
      authClientPersistenceKey - The secret key used by EncryptedFieldConverter to encrypt and decrypt entity fields.