public abstract class AbstractPac4jAuthenticationHandler
extends org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
credentialSelectionPredicate, principalFactory, servicesManager| Constructor and Description |
|---|
AbstractPac4jAuthenticationHandler(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.apereo.cas.authentication.AuthenticationHandlerExecutionResult |
createResult(org.apereo.cas.authentication.principal.ClientCredential credentials,
org.pac4j.core.profile.UserProfile profile)
Build the handler result.
|
protected java.lang.String |
determinePrincipalIdFrom(org.pac4j.core.profile.UserProfile profile)
Determine principal id from profile.
|
authenticate, createHandlerResult, createHandlerResult, doAuthenticationgetCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getServicesManager, setCredentialSelectionPredicateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AbstractPac4jAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
java.lang.Integer order)
protected org.apereo.cas.authentication.AuthenticationHandlerExecutionResult createResult(org.apereo.cas.authentication.principal.ClientCredential credentials,
org.pac4j.core.profile.UserProfile profile)
throws java.security.GeneralSecurityException
credentials - the provided credentialsprofile - the retrieved user profilejava.security.GeneralSecurityException - On authentication failure.protected java.lang.String determinePrincipalIdFrom(org.pac4j.core.profile.UserProfile profile)
profile - the profile