Package org.apereo.cas.config
Class CasJdbcAuthenticationConfiguration
java.lang.Object
org.apereo.cas.config.CasJdbcAuthenticationConfiguration
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
@ConditionalOnFeatureEnabled(feature=Authentication,
module="jdbc")
@AutoConfiguration
public class CasJdbcAuthenticationConfiguration
extends Object
This is
CasJdbcAuthenticationConfiguration.- Since:
- 5.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.apereo.cas.authentication.AuthenticationHandler> bindModeSearchDatabaseAuthenticationHandlers(org.apereo.cas.authentication.support.password.PasswordPolicyContext bindSearchPasswordPolicyConfiguration, org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) org.apereo.cas.authentication.support.password.PasswordPolicyContextorg.apereo.cas.authentication.AuthenticationEventExecutionPlanConfigurerjdbcAuthenticationEventExecutionPlanConfigurer(Collection<org.apereo.cas.authentication.AuthenticationHandler> jdbcAuthenticationHandlers, org.apereo.cas.authentication.principal.PrincipalResolver defaultPrincipalResolver) Collection<org.apereo.cas.authentication.AuthenticationHandler> jdbcAuthenticationHandlers(Collection<org.apereo.cas.authentication.AuthenticationHandler> queryAndEncodeDatabaseAuthenticationHandlers, Collection<org.apereo.cas.authentication.AuthenticationHandler> bindModeSearchDatabaseAuthenticationHandlers, Collection<org.apereo.cas.authentication.AuthenticationHandler> queryDatabaseAuthenticationHandlers, Collection<org.apereo.cas.authentication.AuthenticationHandler> searchModeSearchDatabaseAuthenticationHandlers) org.apereo.cas.authentication.principal.PrincipalFactoryCollection<org.apereo.cas.authentication.AuthenticationHandler> queryAndEncodeDatabaseAuthenticationHandlers(org.apereo.cas.authentication.support.password.PasswordPolicyContext queryAndEncodePasswordPolicyConfiguration, org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) org.apereo.cas.authentication.support.password.PasswordPolicyContextCollection<org.apereo.cas.authentication.AuthenticationHandler> queryDatabaseAuthenticationHandlers(org.apereo.cas.authentication.support.password.PasswordPolicyContext queryPasswordPolicyConfiguration, org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) org.apereo.cas.authentication.support.password.PasswordPolicyContextorg.apereo.cas.authentication.support.password.PasswordPolicyContextCollection<org.apereo.cas.authentication.AuthenticationHandler> searchModeSearchDatabaseAuthenticationHandlers(org.apereo.cas.authentication.support.password.PasswordPolicyContext searchModePasswordPolicyConfiguration, org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
Constructor Details
-
CasJdbcAuthenticationConfiguration
public CasJdbcAuthenticationConfiguration()
-
-
Method Details
-
queryAndEncodeDatabaseAuthenticationHandlers
@ConditionalOnMissingBean(name="queryAndEncodeDatabaseAuthenticationHandlers") @Bean @RefreshScope(proxyMode=DEFAULT) public Collection<org.apereo.cas.authentication.AuthenticationHandler> queryAndEncodeDatabaseAuthenticationHandlers(@Qualifier("queryAndEncodePasswordPolicyConfiguration") org.apereo.cas.authentication.support.password.PasswordPolicyContext queryAndEncodePasswordPolicyConfiguration, org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("servicesManager") org.apereo.cas.services.ServicesManager servicesManager, @Qualifier("jdbcPrincipalFactory") org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
bindModeSearchDatabaseAuthenticationHandlers
@ConditionalOnMissingBean(name="bindModeSearchDatabaseAuthenticationHandlers") @Bean @RefreshScope(proxyMode=DEFAULT) public Collection<org.apereo.cas.authentication.AuthenticationHandler> bindModeSearchDatabaseAuthenticationHandlers(@Qualifier("bindSearchPasswordPolicyConfiguration") org.apereo.cas.authentication.support.password.PasswordPolicyContext bindSearchPasswordPolicyConfiguration, org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("servicesManager") org.apereo.cas.services.ServicesManager servicesManager, @Qualifier("jdbcPrincipalFactory") org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
queryDatabaseAuthenticationHandlers
@ConditionalOnMissingBean(name="queryDatabaseAuthenticationHandlers") @Bean @RefreshScope(proxyMode=DEFAULT) public Collection<org.apereo.cas.authentication.AuthenticationHandler> queryDatabaseAuthenticationHandlers(@Qualifier("queryPasswordPolicyConfiguration") org.apereo.cas.authentication.support.password.PasswordPolicyContext queryPasswordPolicyConfiguration, org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("servicesManager") org.apereo.cas.services.ServicesManager servicesManager, @Qualifier("jdbcPrincipalFactory") org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
searchModeSearchDatabaseAuthenticationHandlers
@ConditionalOnMissingBean(name="searchModeSearchDatabaseAuthenticationHandlers") @Bean @RefreshScope(proxyMode=DEFAULT) public Collection<org.apereo.cas.authentication.AuthenticationHandler> searchModeSearchDatabaseAuthenticationHandlers(@Qualifier("searchModePasswordPolicyConfiguration") org.apereo.cas.authentication.support.password.PasswordPolicyContext searchModePasswordPolicyConfiguration, org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("servicesManager") org.apereo.cas.services.ServicesManager servicesManager, @Qualifier("jdbcPrincipalFactory") org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
jdbcAuthenticationHandlers
@ConditionalOnMissingBean(name="jdbcAuthenticationHandlers") @Bean @RefreshScope(proxyMode=DEFAULT) public Collection<org.apereo.cas.authentication.AuthenticationHandler> jdbcAuthenticationHandlers(@Qualifier("queryAndEncodeDatabaseAuthenticationHandlers") Collection<org.apereo.cas.authentication.AuthenticationHandler> queryAndEncodeDatabaseAuthenticationHandlers, @Qualifier("bindModeSearchDatabaseAuthenticationHandlers") Collection<org.apereo.cas.authentication.AuthenticationHandler> bindModeSearchDatabaseAuthenticationHandlers, @Qualifier("queryDatabaseAuthenticationHandlers") Collection<org.apereo.cas.authentication.AuthenticationHandler> queryDatabaseAuthenticationHandlers, @Qualifier("searchModeSearchDatabaseAuthenticationHandlers") Collection<org.apereo.cas.authentication.AuthenticationHandler> searchModeSearchDatabaseAuthenticationHandlers) -
jdbcPrincipalFactory
@ConditionalOnMissingBean(name="jdbcPrincipalFactory") @Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.authentication.principal.PrincipalFactory jdbcPrincipalFactory() -
queryAndEncodePasswordPolicyConfiguration
@ConditionalOnMissingBean(name="queryAndEncodePasswordPolicyConfiguration") @Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.authentication.support.password.PasswordPolicyContext queryAndEncodePasswordPolicyConfiguration() -
searchModePasswordPolicyConfiguration
@ConditionalOnMissingBean(name="searchModePasswordPolicyConfiguration") @Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.authentication.support.password.PasswordPolicyContext searchModePasswordPolicyConfiguration() -
queryPasswordPolicyConfiguration
@ConditionalOnMissingBean(name="queryPasswordPolicyConfiguration") @Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.authentication.support.password.PasswordPolicyContext queryPasswordPolicyConfiguration() -
bindSearchPasswordPolicyConfiguration
@ConditionalOnMissingBean(name="bindSearchPasswordPolicyConfiguration") @Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.authentication.support.password.PasswordPolicyContext bindSearchPasswordPolicyConfiguration() -
jdbcAuthenticationEventExecutionPlanConfigurer
@ConditionalOnMissingBean(name="jdbcAuthenticationEventExecutionPlanConfigurer") @Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.authentication.AuthenticationEventExecutionPlanConfigurer jdbcAuthenticationEventExecutionPlanConfigurer(@Qualifier("jdbcAuthenticationHandlers") Collection<org.apereo.cas.authentication.AuthenticationHandler> jdbcAuthenticationHandlers, @Qualifier("defaultPrincipalResolver") org.apereo.cas.authentication.principal.PrincipalResolver defaultPrincipalResolver)
-