Package org.apereo.cas.config
Class GoogleAuthenticatorAuthenticationEventExecutionPlanConfiguration.GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration
java.lang.Object
org.apereo.cas.config.GoogleAuthenticatorAuthenticationEventExecutionPlanConfiguration.GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration
- Enclosing class:
GoogleAuthenticatorAuthenticationEventExecutionPlanConfiguration
@Configuration(value="GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration",
proxyBeanMethods=false)
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
public static class GoogleAuthenticatorAuthenticationEventExecutionPlanConfiguration.GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepositorygoogleAuthenticatorAccountRegistry(org.apereo.cas.configuration.CasConfigurationProperties casProperties, com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance, org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorAccountCipherExecutor, org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorScratchCodesCipherExecutor) 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.util.thread.CleanablegoogleAuthenticatorTokenRepositoryCleaner(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.otp.repository.token.OneTimeTokenRepository repository)
-
Constructor Details
-
GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration
public GoogleAuthenticatorMultifactorAuthenticationTokenConfiguration()
-
-
Method Details
-
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
@Bean @RefreshScope(proxyMode=DEFAULT) @Lazy(false) public org.apereo.cas.util.thread.Cleanable googleAuthenticatorTokenRepositoryCleaner(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("oneTimeTokenAuthenticatorTokenRepository") org.apereo.cas.otp.repository.token.OneTimeTokenRepository repository) throws Exception - Throws:
Exception
-
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, @Qualifier("googleAuthenticatorScratchCodesCipherExecutor") org.apereo.cas.util.crypto.CipherExecutor googleAuthenticatorScratchCodesCipherExecutor)
-