Class RedisAuthenticationConfiguration


  • @Configuration("redisAuthenticationConfiguration")
    @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    @ConditionalOnProperty(prefix="cas.authn.redis",
                           name="enabled",
                           havingValue="true",
                           matchIfMissing=true)
    public class RedisAuthenticationConfiguration
    extends java.lang.Object
    Since:
    6.1.0
    • Constructor Detail

      • RedisAuthenticationConfiguration

        public RedisAuthenticationConfiguration()
    • Method Detail

      • redisPrincipalFactory

        @Bean
        @RefreshScope
        @ConditionalOnMissingBean(name="redisPrincipalFactory")
        public org.apereo.cas.authentication.principal.PrincipalFactory redisPrincipalFactory()
      • redisAuthenticationConnectionFactory

        @Bean
        @ConditionalOnMissingBean(name="redisAuthenticationConnectionFactory")
        @RefreshScope
        public org.springframework.data.redis.connection.RedisConnectionFactory redisAuthenticationConnectionFactory()
      • authenticationRedisTemplate

        @Bean(name={"authenticationRedisTemplate","redisTemplate"})
        @ConditionalOnMissingBean(name="authenticationRedisTemplate")
        @RefreshScope
        public org.springframework.data.redis.core.RedisTemplate authenticationRedisTemplate()
      • redisAuthenticationHandler

        @Bean
        @RefreshScope
        @ConditionalOnMissingBean(name="redisAuthenticationHandler")
        public org.apereo.cas.authentication.AuthenticationHandler redisAuthenticationHandler()
      • redisAuthenticationEventExecutionPlanConfigurer

        @ConditionalOnMissingBean(name="redisAuthenticationEventExecutionPlanConfigurer")
        @Bean
        @RefreshScope
        public org.apereo.cas.authentication.AuthenticationEventExecutionPlanConfigurer redisAuthenticationEventExecutionPlanConfigurer()
      • redisPersonAttributeDaos

        @ConditionalOnMissingBean(name="redisPersonAttributeDaos")
        @Bean
        @RefreshScope
        public java.util.List<org.apereo.services.persondir.IPersonAttributeDao> redisPersonAttributeDaos()
      • redisAttributeRepositoryPlanConfigurer

        @ConditionalOnMissingBean(name="redisAttributeRepositoryPlanConfigurer")
        @Bean
        @RefreshScope
        public org.apereo.cas.persondir.PersonDirectoryAttributeRepositoryPlanConfigurer redisAttributeRepositoryPlanConfigurer()