Class JdbcPasswordHistoryManagementConfiguration


  • @Configuration("jdbcPasswordHistoryManagementConfiguration")
    @EnableTransactionManagement(proxyTargetClass=true)
    @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    @ConditionalOnProperty(prefix="cas.authn.pm.history",
                           name="enabled",
                           havingValue="true")
    public class JdbcPasswordHistoryManagementConfiguration
    extends java.lang.Object
    Since:
    5.2.0
    • Constructor Detail

      • JdbcPasswordHistoryManagementConfiguration

        public JdbcPasswordHistoryManagementConfiguration()
    • Method Detail

      • jpaPasswordHistoryVendorAdapter

        @RefreshScope
        @Bean
        public org.springframework.orm.jpa.JpaVendorAdapter jpaPasswordHistoryVendorAdapter()
      • jpaPasswordHistoryPackagesToScan

        @Bean
        public java.util.List<java.lang.String> jpaPasswordHistoryPackagesToScan()
      • passwordHistoryEntityManagerFactory

        @Lazy
        @Bean
        public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean passwordHistoryEntityManagerFactory()
      • transactionManagerPasswordHistory

        @Autowired
        @Bean
        public org.springframework.transaction.PlatformTransactionManager transactionManagerPasswordHistory​(@Qualifier("passwordHistoryEntityManagerFactory")
                                                                                                            javax.persistence.EntityManagerFactory emf)
      • passwordHistoryService

        @RefreshScope
        @Bean
        public org.apereo.cas.pm.PasswordHistoryService passwordHistoryService()