public class UsernamePasswordWrapperAuthenticationHandler extends AbstractWrapperAuthenticationHandler<org.apereo.cas.authentication.UsernamePasswordCredential,org.pac4j.core.credentials.UsernamePasswordCredentials>
| Modifier and Type | Field and Description |
|---|---|
protected org.pac4j.core.credentials.authenticator.Authenticator<org.pac4j.core.credentials.UsernamePasswordCredentials> |
authenticator
The underlying pac4j authenticator.
|
profileCreatorcredentialSelectionPredicate, principalFactory, servicesManager| Constructor and Description |
|---|
UsernamePasswordWrapperAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
java.lang.Integer order) |
| Modifier and Type | Method and Description |
|---|---|
protected org.pac4j.core.credentials.UsernamePasswordCredentials |
convertToPac4jCredentials(org.apereo.cas.authentication.UsernamePasswordCredential casCredential)
Convert a CAS credential into a pac4j credentials to play the authentication.
|
protected org.pac4j.core.credentials.authenticator.Authenticator<org.pac4j.core.credentials.UsernamePasswordCredentials> |
getAuthenticator(org.apereo.cas.authentication.Credential credential)
Gets authenticator.
|
protected java.lang.Class<org.apereo.cas.authentication.UsernamePasswordCredential> |
getCasCredentialsType()
Return the CAS credential supported by this handler (to be converted in a pac4j credentials
by
AbstractWrapperAuthenticationHandler.convertToPac4jCredentials(Credential)). |
doAuthentication, getWebContext, supportscreateResult, determinePrincipalIdFrom, storeUserProfileauthenticate, createHandlerResult, createHandlerResultgetCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getServicesManager, setCredentialSelectionPredicateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected org.pac4j.core.credentials.authenticator.Authenticator<org.pac4j.core.credentials.UsernamePasswordCredentials> authenticator
public UsernamePasswordWrapperAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
java.lang.Integer order)
protected org.pac4j.core.credentials.UsernamePasswordCredentials convertToPac4jCredentials(org.apereo.cas.authentication.UsernamePasswordCredential casCredential)
throws java.security.GeneralSecurityException
AbstractWrapperAuthenticationHandlerconvertToPac4jCredentials in class AbstractWrapperAuthenticationHandler<org.apereo.cas.authentication.UsernamePasswordCredential,org.pac4j.core.credentials.UsernamePasswordCredentials>casCredential - the CAS credentialjava.security.GeneralSecurityException - On authentication failure.protected org.pac4j.core.credentials.authenticator.Authenticator<org.pac4j.core.credentials.UsernamePasswordCredentials> getAuthenticator(org.apereo.cas.authentication.Credential credential)
AbstractWrapperAuthenticationHandlergetAuthenticator in class AbstractWrapperAuthenticationHandler<org.apereo.cas.authentication.UsernamePasswordCredential,org.pac4j.core.credentials.UsernamePasswordCredentials>credential - the credentialprotected java.lang.Class<org.apereo.cas.authentication.UsernamePasswordCredential> getCasCredentialsType()
AbstractWrapperAuthenticationHandlerAbstractWrapperAuthenticationHandler.convertToPac4jCredentials(Credential)).getCasCredentialsType in class AbstractWrapperAuthenticationHandler<org.apereo.cas.authentication.UsernamePasswordCredential,org.pac4j.core.credentials.UsernamePasswordCredentials>