Class RegisteredServiceAuthenticationHandlerResolver

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

    public class RegisteredServiceAuthenticationHandlerResolver
    extends java.lang.Object
    implements org.apereo.cas.authentication.AuthenticationHandlerResolver
    This is RegisteredServiceAuthenticationHandlerResolver that acts on the criteria presented by a registered service to detect which handler(s) should be resolved for authentication.
    Since:
    5.0.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apereo.cas.services.ServicesManager servicesManager
      The Services manager.
      • Fields inherited from interface org.apereo.cas.authentication.AuthenticationHandlerResolver

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

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> resolve​(java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)  
      boolean supports​(java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> handlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)  
      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationHandlerResolver

        getOrder
      • Methods inherited from class java.lang.Object

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

      • servicesManager

        protected final org.apereo.cas.services.ServicesManager servicesManager
        The Services manager.
    • Constructor Detail

      • RegisteredServiceAuthenticationHandlerResolver

        public RegisteredServiceAuthenticationHandlerResolver()
    • Method Detail

      • supports

        public boolean supports​(java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> handlers,
                                org.apereo.cas.authentication.AuthenticationTransaction transaction)
        Specified by:
        supports in interface org.apereo.cas.authentication.AuthenticationHandlerResolver
      • resolve

        public java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> resolve​(java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers,
                                                                                          org.apereo.cas.authentication.AuthenticationTransaction transaction)
        Specified by:
        resolve in interface org.apereo.cas.authentication.AuthenticationHandlerResolver