Class TokenAuthenticationHandler
java.lang.Object
org.apereo.cas.authentication.AbstractAuthenticationHandler
org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
org.apereo.cas.token.authentication.TokenAuthenticationHandler
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationHandler,org.apereo.cas.authentication.PrePostAuthenticationHandler,org.apereo.cas.util.NamedObject,org.springframework.core.Ordered
public class TokenAuthenticationHandler
extends org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
This is
TokenAuthenticationHandler that authenticates instances of TokenCredential.
There is no need for a separate PrincipalResolver component
as this handler will auto-populate the principal attributes itself.- Since:
- 4.2.0
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.AuthenticationHandler
SUCCESSFUL_AUTHENTICATION_HANDLERSFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionTokenAuthenticationHandler(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, org.apereo.cas.configuration.model.support.token.TokenAuthenticationProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionbooleansupports(org.apereo.cas.authentication.Credential credential) Methods inherited from class org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
authenticateMethods inherited from class org.apereo.cas.authentication.AbstractAuthenticationHandler
equals, getCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getState, getTags, hashCode, setCredentialSelectionPredicate, setState, setTagsMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apereo.cas.authentication.AuthenticationHandler
getOrder, getState, getTags, isDisposable, markDisposable, supportsMethods inherited from interface org.apereo.cas.util.NamedObject
getNameMethods inherited from interface org.apereo.cas.authentication.PrePostAuthenticationHandler
postAuthenticate, preAuthenticate
-
Constructor Details
-
TokenAuthenticationHandler
public TokenAuthenticationHandler(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, org.apereo.cas.configuration.model.support.token.TokenAuthenticationProperties properties)
-
-
Method Details
-
supports
public boolean supports(org.apereo.cas.authentication.Credential credential)
-