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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository
    googleAuthenticatorAccountRegistry(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.MongoOperations
    mongoDbGoogleAuthenticatorTemplate(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.authentication.CasSSLContext casSslContext)
     
    org.apereo.cas.otp.repository.token.OneTimeTokenRepository
    oneTimeTokenAuthenticatorTokenRepository(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.data.mongodb.core.MongoOperations mongoDbGoogleAuthenticatorTemplate)
     
    org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)