Class GoogleAuthenticatorAuthenticationEventExecutionPlanConfiguration.GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration

  • Enclosing class:
    GoogleAuthenticatorAuthenticationEventExecutionPlanConfiguration

    @Configuration(value="GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration",
                   proxyBeanMethods=false)
    @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    public static class GoogleAuthenticatorAuthenticationEventExecutionPlanConfiguration.GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository googleAuthenticatorAccountRegistry​(org.apereo.cas.configuration.CasConfigurationProperties casProperties, com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance, org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorAccountCipherExecutor)  
      org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialValidator<org.apereo.cas.gauth.credential.GoogleAuthenticatorTokenCredential,​org.apereo.cas.gauth.token.GoogleAuthenticatorToken> googleAuthenticatorOneTimeTokenCredentialValidator​(com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance, org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository googleAuthenticatorAccountRegistry, org.apereo.cas.otp.repository.token.OneTimeTokenRepository oneTimeTokenAuthenticatorTokenRepository)  
      org.apereo.cas.otp.repository.token.OneTimeTokenRepositoryCleaner googleAuthenticatorTokenRepositoryCleaner​(org.apereo.cas.otp.repository.token.OneTimeTokenRepository repository)  
      • Methods inherited from class java.lang.Object

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

      • GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration

        public GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration()
    • Method Detail

      • googleAuthenticatorOneTimeTokenCredentialValidator

        @ConditionalOnMissingBean(name="googleAuthenticatorOneTimeTokenCredentialValidator")
        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialValidator<org.apereo.cas.gauth.credential.GoogleAuthenticatorTokenCredential,​org.apereo.cas.gauth.token.GoogleAuthenticatorToken> googleAuthenticatorOneTimeTokenCredentialValidator​(@Qualifier("googleAuthenticatorInstance")
                                                                                                                                                                                                                                                                          com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance,
                                                                                                                                                                                                                                                                          @Qualifier("googleAuthenticatorAccountRegistry")
                                                                                                                                                                                                                                                                          org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository googleAuthenticatorAccountRegistry,
                                                                                                                                                                                                                                                                          @Qualifier("oneTimeTokenAuthenticatorTokenRepository")
                                                                                                                                                                                                                                                                          org.apereo.cas.otp.repository.token.OneTimeTokenRepository oneTimeTokenAuthenticatorTokenRepository)
      • googleAuthenticatorTokenRepositoryCleaner

        @ConditionalOnProperty(prefix="cas.authn.mfa.gauth.cleaner.schedule",
                               name="enabled",
                               havingValue="true",
                               matchIfMissing=true)
        @Bean
        public org.apereo.cas.otp.repository.token.OneTimeTokenRepositoryCleaner googleAuthenticatorTokenRepositoryCleaner​(@Qualifier("oneTimeTokenAuthenticatorTokenRepository")
                                                                                                                           org.apereo.cas.otp.repository.token.OneTimeTokenRepository repository)
      • googleAuthenticatorAccountRegistry

        @ConditionalOnMissingBean(name="googleAuthenticatorAccountRegistry")
        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository googleAuthenticatorAccountRegistry​(org.apereo.cas.configuration.CasConfigurationProperties casProperties,
                                                                                                                             @Qualifier("googleAuthenticatorInstance")
                                                                                                                             com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance,
                                                                                                                             @Qualifier("googleAuthenticatorAccountCipherExecutor")
                                                                                                                             org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorAccountCipherExecutor)