Package org.apereo.cas.config
Class GoogleAuthenticatorJpaConfiguration.GoogleAuthenticatorJpaRepositoryConfiguration
java.lang.Object
org.apereo.cas.config.GoogleAuthenticatorJpaConfiguration.GoogleAuthenticatorJpaRepositoryConfiguration
- Enclosing class:
GoogleAuthenticatorJpaConfiguration
@Configuration(value="GoogleAuthenticatorJpaRepositoryConfiguration",
proxyBeanMethods=false)
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
public static class GoogleAuthenticatorJpaConfiguration.GoogleAuthenticatorJpaRepositoryConfiguration
extends Object
-
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.otp.repository.token.OneTimeTokenRepositoryoneTimeTokenAuthenticatorTokenRepository(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.transaction.PlatformTransactionManager transactionManagerGoogleAuthenticator)
-
Constructor Details
-
GoogleAuthenticatorJpaRepositoryConfiguration
public GoogleAuthenticatorJpaRepositoryConfiguration()
-
-
Method Details
-
googleAuthenticatorAccountRegistry
@Bean @RefreshScope(proxyMode=DEFAULT) @ConditionalOnMissingBean(name="googleAuthenticatorAccountRegistry") 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) -
oneTimeTokenAuthenticatorTokenRepository
@Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.otp.repository.token.OneTimeTokenRepository oneTimeTokenAuthenticatorTokenRepository(org.apereo.cas.configuration.CasConfigurationProperties casProperties, @Qualifier("transactionManagerGoogleAuthenticator") org.springframework.transaction.PlatformTransactionManager transactionManagerGoogleAuthenticator)
-