Package org.apereo.cas.config
Class GoogleAuthenticatorRedisConfiguration
- java.lang.Object
-
- org.apereo.cas.config.GoogleAuthenticatorRedisConfiguration
-
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class) @EnableTransactionManagement(proxyTargetClass=false) @EnableScheduling @ConditionalOnFeatureEnabled(feature=GoogleAuthenticator, module="redis") @AutoConfiguration public class GoogleAuthenticatorRedisConfiguration extends java.lang.Object- Since:
- 6.1.0
-
-
Constructor Summary
Constructors Constructor Description GoogleAuthenticatorRedisConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepositorygoogleAuthenticatorAccountRegistry(org.springframework.context.ConfigurableApplicationContext applicationContext, com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance, org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorAccountCipherExecutor, org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorScratchCodesCipherExecutor, org.apereo.cas.redis.core.CasRedisTemplate redisGoogleAuthenticatorTemplate, org.apereo.cas.configuration.CasConfigurationProperties casProperties)org.apereo.cas.otp.repository.token.OneTimeTokenRepositoryoneTimeTokenAuthenticatorTokenRepository(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.redis.core.CasRedisTemplate redisGoogleAuthenticatorTemplate)org.springframework.beans.factory.config.BeanPostProcessorpersistenceExceptionTranslationPostProcessor()org.springframework.data.redis.connection.RedisConnectionFactoryredisGoogleAuthenticatorConnectionFactory(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.authentication.CasSSLContext casSslContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties)org.apereo.cas.redis.core.CasRedisTemplateredisGoogleAuthenticatorTemplate(org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.data.redis.connection.RedisConnectionFactory redisGoogleAuthenticatorConnectionFactory)
-
-
-
Method Detail
-
persistenceExceptionTranslationPostProcessor
@RefreshScope(proxyMode=DEFAULT) @Bean public org.springframework.beans.factory.config.BeanPostProcessor persistenceExceptionTranslationPostProcessor()
-
redisGoogleAuthenticatorConnectionFactory
@Bean @ConditionalOnMissingBean(name="redisGoogleAuthenticatorConnectionFactory") @RefreshScope(proxyMode=DEFAULT) public org.springframework.data.redis.connection.RedisConnectionFactory redisGoogleAuthenticatorConnectionFactory(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
-
redisGoogleAuthenticatorTemplate
@RefreshScope(proxyMode=DEFAULT) @Bean @ConditionalOnMissingBean(name="redisGoogleAuthenticatorTemplate") public org.apereo.cas.redis.core.CasRedisTemplate redisGoogleAuthenticatorTemplate(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("redisGoogleAuthenticatorConnectionFactory") org.springframework.data.redis.connection.RedisConnectionFactory redisGoogleAuthenticatorConnectionFactory) throws java.lang.Exception- Throws:
java.lang.Exception
-
googleAuthenticatorAccountRegistry
@Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository googleAuthenticatorAccountRegistry(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("googleAuthenticatorInstance") com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance, @Qualifier("googleAuthenticatorAccountCipherExecutor") org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorAccountCipherExecutor, @Qualifier("googleAuthenticatorScratchCodesCipherExecutor") org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorScratchCodesCipherExecutor, @Qualifier("redisGoogleAuthenticatorTemplate") org.apereo.cas.redis.core.CasRedisTemplate redisGoogleAuthenticatorTemplate, org.apereo.cas.configuration.CasConfigurationProperties casProperties) throws java.lang.Exception- Throws:
java.lang.Exception
-
oneTimeTokenAuthenticatorTokenRepository
@Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.otp.repository.token.OneTimeTokenRepository oneTimeTokenAuthenticatorTokenRepository(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties, @Qualifier("redisGoogleAuthenticatorTemplate") org.apereo.cas.redis.core.CasRedisTemplate redisGoogleAuthenticatorTemplate) throws java.lang.Exception- Throws:
java.lang.Exception
-
-