Class PrincipalBearingCredentialsAuthenticationHandler

  • All Implemented Interfaces:
    org.apereo.cas.authentication.AuthenticationHandler, org.springframework.core.Ordered

    public class PrincipalBearingCredentialsAuthenticationHandler
    extends org.apereo.cas.authentication.AbstractAuthenticationHandler
    AuthenticationHandler which authenticates Principal-bearing credentials. Authentication must have occurred at the time the Principal-bearing credentials were created, so we perform no further authentication. Thus merely by being presented a PrincipalBearingCredential, this handler returns true.
    Since:
    3.0.0
    • Field Summary

      • Fields inherited from class org.apereo.cas.authentication.AbstractAuthenticationHandler

        principalFactory
      • Fields inherited from interface org.apereo.cas.authentication.AuthenticationHandler

        SUCCESSFUL_AUTHENTICATION_HANDLERS
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Summary

      Constructors 
      Constructor Description
      PrincipalBearingCredentialsAuthenticationHandler​(java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, java.lang.Integer order)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.authentication.AuthenticationHandlerExecutionResult authenticate​(org.apereo.cas.authentication.Credential credential)  
      boolean supports​(java.lang.Class<? extends org.apereo.cas.authentication.Credential> clazz)  
      boolean supports​(org.apereo.cas.authentication.Credential credential)  
      • Methods inherited from class org.apereo.cas.authentication.AbstractAuthenticationHandler

        canEqual, equals, getCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getServicesManager, getState, hashCode, setCredentialSelectionPredicate, setState
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrincipalBearingCredentialsAuthenticationHandler

        public PrincipalBearingCredentialsAuthenticationHandler​(java.lang.String name,
                                                                org.apereo.cas.services.ServicesManager servicesManager,
                                                                org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
                                                                java.lang.Integer order)
    • Method Detail

      • authenticate

        public org.apereo.cas.authentication.AuthenticationHandlerExecutionResult authenticate​(org.apereo.cas.authentication.Credential credential)
      • supports

        public boolean supports​(java.lang.Class<? extends org.apereo.cas.authentication.Credential> clazz)
      • supports

        public boolean supports​(org.apereo.cas.authentication.Credential credential)