Package org.apereo.cas.config
Class RedisYubiKeyConfiguration
- java.lang.Object
-
- org.apereo.cas.config.RedisYubiKeyConfiguration
-
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class) @ConditionalOnFeatureEnabled(feature=YubiKey, module="redis") @AutoConfiguration public class RedisYubiKeyConfiguration extends java.lang.ObjectThis isRedisYubiKeyConfiguration.- Since:
- 6.2.0
-
-
Constructor Summary
Constructors Constructor Description RedisYubiKeyConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.redis.connection.RedisConnectionFactoryredisYubiKeyConnectionFactory(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.authentication.CasSSLContext casSslContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties)org.apereo.cas.redis.core.CasRedisTemplateredisYubiKeyTemplate(org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.data.redis.connection.RedisConnectionFactory redisYubiKeyConnectionFactory)org.apereo.cas.adaptors.yubikey.YubiKeyAccountRegistryyubiKeyAccountRegistry(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.redis.core.CasRedisTemplate redisYubiKeyTemplate, org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator yubiKeyAccountValidator, org.apereo.cas.util.crypto.CipherExecutor yubikeyAccountCipherExecutor, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
-
-
Method Detail
-
redisYubiKeyTemplate
@RefreshScope(proxyMode=DEFAULT) @Bean @ConditionalOnMissingBean(name="redisYubiKeyTemplate") public org.apereo.cas.redis.core.CasRedisTemplate redisYubiKeyTemplate(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("redisYubiKeyConnectionFactory") org.springframework.data.redis.connection.RedisConnectionFactory redisYubiKeyConnectionFactory) throws java.lang.Exception- Throws:
java.lang.Exception
-
redisYubiKeyConnectionFactory
@Bean @ConditionalOnMissingBean(name="redisYubiKeyConnectionFactory") @RefreshScope(proxyMode=DEFAULT) public org.springframework.data.redis.connection.RedisConnectionFactory redisYubiKeyConnectionFactory(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("casSslContext") org.apereo.cas.authentication.CasSSLContext casSslContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties) throws java.lang.Exception- Throws:
java.lang.Exception
-
yubiKeyAccountRegistry
@RefreshScope(proxyMode=DEFAULT) @Bean public org.apereo.cas.adaptors.yubikey.YubiKeyAccountRegistry yubiKeyAccountRegistry(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("redisYubiKeyTemplate") org.apereo.cas.redis.core.CasRedisTemplate redisYubiKeyTemplate, @Qualifier("yubiKeyAccountValidator") org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator yubiKeyAccountValidator, @Qualifier("yubikeyAccountCipherExecutor") org.apereo.cas.util.crypto.CipherExecutor yubikeyAccountCipherExecutor, org.apereo.cas.configuration.CasConfigurationProperties casProperties) throws java.lang.Exception- Throws:
java.lang.Exception
-
-