Class CasConsentRedisConfiguration


  • @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    @ConditionalOnFeatureEnabled(feature=Consent,
                                 module="redis")
    @AutoConfiguration
    public class CasConsentRedisConfiguration
    extends java.lang.Object
    Since:
    5.2.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.redis.core.CasRedisTemplate consentRedisTemplate​(org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.data.redis.connection.RedisConnectionFactory redisConsentConnectionFactory)  
      org.apereo.cas.consent.ConsentRepository consentRepository​(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.redis.core.CasRedisTemplate consentRedisTemplate, org.apereo.cas.configuration.CasConfigurationProperties casProperties)  
      org.springframework.data.redis.connection.RedisConnectionFactory redisConsentConnectionFactory​(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.authentication.CasSSLContext casSslContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CasConsentRedisConfiguration

        public CasConsentRedisConfiguration()
    • Method Detail

      • consentRepository

        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.apereo.cas.consent.ConsentRepository consentRepository​(org.springframework.context.ConfigurableApplicationContext applicationContext,
                                                                          @Qualifier("consentRedisTemplate")
                                                                          org.apereo.cas.redis.core.CasRedisTemplate consentRedisTemplate,
                                                                          org.apereo.cas.configuration.CasConfigurationProperties casProperties)
      • redisConsentConnectionFactory

        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        @ConditionalOnMissingBean(name="redisConsentConnectionFactory")
        public org.springframework.data.redis.connection.RedisConnectionFactory redisConsentConnectionFactory​(org.springframework.context.ConfigurableApplicationContext applicationContext,
                                                                                                              @Qualifier("casSslContext")
                                                                                                              org.apereo.cas.authentication.CasSSLContext casSslContext,
                                                                                                              org.apereo.cas.configuration.CasConfigurationProperties casProperties)
      • consentRedisTemplate

        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        @ConditionalOnMissingBean(name="consentRedisTemplate")
        public org.apereo.cas.redis.core.CasRedisTemplate consentRedisTemplate​(org.springframework.context.ConfigurableApplicationContext applicationContext,
                                                                               @Qualifier("redisConsentConnectionFactory")
                                                                               org.springframework.data.redis.connection.RedisConnectionFactory redisConsentConnectionFactory)