public class QueryDatabaseAuthenticationHandler extends AbstractJdbcUsernamePasswordAuthenticationHandler
passwordPolicyHandlingStrategycredentialSelectionPredicate, principalFactory, servicesManager| Constructor and Description |
|---|
QueryDatabaseAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
java.lang.Integer order,
javax.sql.DataSource dataSource,
java.lang.String sql,
java.lang.String fieldPassword,
java.lang.String fieldExpired,
java.lang.String fieldDisabled,
java.util.Map<java.lang.String,java.lang.Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apereo.cas.authentication.AuthenticationHandlerExecutionResult |
authenticateUsernamePasswordInternal(org.apereo.cas.authentication.UsernamePasswordCredential credential,
java.lang.String originalPassword) |
getDataSource, getJdbcTemplate, getNamedJdbcTemplatedoAuthentication, getPasswordEncoder, getPasswordPolicyConfiguration, getPasswordPolicyHandlingStrategy, getPrincipalNameTransformer, matches, setPasswordEncoder, setPasswordPolicyConfiguration, setPasswordPolicyHandlingStrategy, setPrincipalNameTransformer, supportsauthenticate, createHandlerResult, createHandlerResultgetCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getServicesManager, setCredentialSelectionPredicateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic QueryDatabaseAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
java.lang.Integer order,
javax.sql.DataSource dataSource,
java.lang.String sql,
java.lang.String fieldPassword,
java.lang.String fieldExpired,
java.lang.String fieldDisabled,
java.util.Map<java.lang.String,java.lang.Object> attributes)
protected org.apereo.cas.authentication.AuthenticationHandlerExecutionResult authenticateUsernamePasswordInternal(org.apereo.cas.authentication.UsernamePasswordCredential credential,
java.lang.String originalPassword)
throws java.security.GeneralSecurityException,
org.apereo.cas.authentication.PreventedException
authenticateUsernamePasswordInternal in class org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandlerjava.security.GeneralSecurityExceptionorg.apereo.cas.authentication.PreventedException