@Configuration(value="googleAuthentiacatorJpaConfiguration")
@EnableConfigurationProperties(value=org.apereo.cas.configuration.CasConfigurationProperties.class)
@EnableTransactionManagement(proxyTargetClass=true)
@EnableScheduling
public class GoogleAuthenticatorJpaConfiguration
extends java.lang.Object
GoogleAuthenticatorJpaConfiguration.| Constructor and Description |
|---|
GoogleAuthenticatorJpaConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
javax.sql.DataSource |
dataSourceGoogleAuthenticator() |
org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository |
googleAuthenticatorAccountRegistry(com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance,
org.apereo.cas.CipherExecutor googleAuthenticatorAccountCipherExecutor) |
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean |
googleAuthenticatorEntityManagerFactory() |
org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter |
jpaGoogleAuthenticatorVendorAdapter() |
java.util.List<java.lang.String> |
jpaPackagesToScanGoogleAuthenticator() |
org.apereo.cas.otp.repository.token.OneTimeTokenRepository |
oneTimeTokenAuthenticatorTokenRepository() |
org.springframework.transaction.PlatformTransactionManager |
transactionManagerGoogleAuthenticator(javax.persistence.EntityManagerFactory emf) |
@RefreshScope @Bean public org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter jpaGoogleAuthenticatorVendorAdapter()
@Bean public javax.sql.DataSource dataSourceGoogleAuthenticator()
@Bean public java.util.List<java.lang.String> jpaPackagesToScanGoogleAuthenticator()
@Lazy @Bean public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean googleAuthenticatorEntityManagerFactory()
@Autowired
@Bean
public org.springframework.transaction.PlatformTransactionManager transactionManagerGoogleAuthenticator(@Qualifier(value="googleAuthenticatorEntityManagerFactory")
javax.persistence.EntityManagerFactory emf)
@Autowired
@Bean
@ConditionalOnMissingBean(name="googleAuthenticatorAccountRegistry")
public org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository googleAuthenticatorAccountRegistry(@Qualifier(value="googleAuthenticatorInstance")
com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticatorInstance,
@Qualifier(value="googleAuthenticatorAccountCipherExecutor")
org.apereo.cas.CipherExecutor googleAuthenticatorAccountCipherExecutor)
@ConditionalOnMissingBean(name="oneTimeTokenAuthenticatorTokenRepository") @Bean public org.apereo.cas.otp.repository.token.OneTimeTokenRepository oneTimeTokenAuthenticatorTokenRepository()