Class AbstractAuthenticationHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.function.Predicate<org.apereo.cas.authentication.Credential> credentialSelectionPredicate
      Indicates whether this handler is able to support the credentials passed to operate on it and validate.
      protected org.apereo.cas.authentication.principal.PrincipalFactory principalFactory
      Factory to create the principal type.
      protected org.apereo.cas.services.ServicesManager servicesManager
      The services manager instance, as the entry point to the registry.
      • 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
      AbstractAuthenticationHandler​(java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, java.lang.Integer order)
      Instantiates a new Abstract authentication handler.
    • Method Summary

      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationHandler

        authenticate, getName, getOrder, supports, supports
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • principalFactory

        protected final org.apereo.cas.authentication.principal.PrincipalFactory principalFactory
        Factory to create the principal type.
      • servicesManager

        protected final org.apereo.cas.services.ServicesManager servicesManager
        The services manager instance, as the entry point to the registry.
      • credentialSelectionPredicate

        protected java.util.function.Predicate<org.apereo.cas.authentication.Credential> credentialSelectionPredicate
        Indicates whether this handler is able to support the credentials passed to operate on it and validate. Default is true.
    • Constructor Detail

      • AbstractAuthenticationHandler

        public AbstractAuthenticationHandler​(java.lang.String name,
                                             org.apereo.cas.services.ServicesManager servicesManager,
                                             org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
                                             java.lang.Integer order)
        Instantiates a new Abstract authentication handler.
        Parameters:
        name - Handler name.
        servicesManager - the services manager.
        principalFactory - the principal factory
        order - the order