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