public class QueryDatabaseAuthenticationHandler extends AbstractJdbcUsernamePasswordAuthenticationHandler
credentialSelectionPredicate, 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.util.Collection<java.lang.String>> attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apereo.cas.authentication.HandlerResult |
authenticateUsernamePasswordInternal(org.apereo.cas.authentication.UsernamePasswordCredential credential,
java.lang.String originalPassword) |
getDataSource, getJdbcTemplatedoAuthentication, getPasswordPolicyConfiguration, matches, setPasswordEncoder, setPasswordPolicyConfiguration, setPrincipalNameTransformer, supportsauthenticate, createHandlerResultgetName, getOrder, 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.util.Collection<java.lang.String>> attributes)
protected org.apereo.cas.authentication.HandlerResult 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