Package org.apereo.cas.config
Class GoogleAuthenticatorMongoDbConfiguration
java.lang.Object
org.apereo.cas.config.GoogleAuthenticatorMongoDbConfiguration
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
@EnableTransactionManagement(proxyTargetClass=false)
@EnableScheduling
@ConditionalOnFeatureEnabled(feature=GoogleAuthenticator,
module="mongo")
@AutoConfiguration
public class GoogleAuthenticatorMongoDbConfiguration
extends Object
- Since:
- 5.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepositorygoogleAuthenticatorAccountRegistry(com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance, org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorAccountCipherExecutor, org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorScratchCodesCipherExecutor, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.data.mongodb.core.MongoOperations mongoDbGoogleAuthenticatorTemplate) org.springframework.data.mongodb.core.MongoOperationsmongoDbGoogleAuthenticatorTemplate(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.authentication.CasSSLContext casSslContext) org.apereo.cas.otp.repository.token.OneTimeTokenRepositoryoneTimeTokenAuthenticatorTokenRepository(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.data.mongodb.core.MongoOperations mongoDbGoogleAuthenticatorTemplate) org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor
-
Constructor Details
-
GoogleAuthenticatorMongoDbConfiguration
public GoogleAuthenticatorMongoDbConfiguration()
-
-
Method Details
-
persistenceExceptionTranslationPostProcessor
@RefreshScope(proxyMode=DEFAULT) @Bean public org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor persistenceExceptionTranslationPostProcessor() -
mongoDbGoogleAuthenticatorTemplate
@RefreshScope(proxyMode=DEFAULT) @Bean public org.springframework.data.mongodb.core.MongoOperations mongoDbGoogleAuthenticatorTemplate(org.apereo.cas.configuration.CasConfigurationProperties casProperties, @Qualifier("casSslContext") org.apereo.cas.authentication.CasSSLContext casSslContext) -
googleAuthenticatorAccountRegistry
@Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository googleAuthenticatorAccountRegistry(@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, org.apereo.cas.configuration.CasConfigurationProperties casProperties, @Qualifier("mongoDbGoogleAuthenticatorTemplate") org.springframework.data.mongodb.core.MongoOperations mongoDbGoogleAuthenticatorTemplate) -
oneTimeTokenAuthenticatorTokenRepository
@Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.otp.repository.token.OneTimeTokenRepository oneTimeTokenAuthenticatorTokenRepository(org.apereo.cas.configuration.CasConfigurationProperties casProperties, @Qualifier("mongoDbGoogleAuthenticatorTemplate") org.springframework.data.mongodb.core.MongoOperations mongoDbGoogleAuthenticatorTemplate)
-