public class RestAuthenticationHandler
extends org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
RestAuthenticationHandler that authenticates uid/password against a remote
rest endpoint based on the status code received. Credentials are passed via basic authn.principalFactory, servicesManager| Constructor and Description |
|---|
RestAuthenticationHandler(java.lang.String name,
RestAuthenticationApi api) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apereo.cas.authentication.HandlerResult |
authenticateUsernamePasswordInternal(org.apereo.cas.authentication.UsernamePasswordCredential c,
java.lang.String originalPassword) |
doAuthentication, getPasswordPolicyConfiguration, matches, setCredentialSelectionPredicate, setPasswordEncoder, setPasswordPolicyConfiguration, setPrincipalNameTransformer, supportsauthenticate, createHandlerResult, postAuthenticate, preAuthenticatepublic RestAuthenticationHandler(java.lang.String name,
RestAuthenticationApi api)
protected org.apereo.cas.authentication.HandlerResult authenticateUsernamePasswordInternal(org.apereo.cas.authentication.UsernamePasswordCredential c,
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