Class ByCredentialSourceAuthenticationHandlerResolver

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

    public class ByCredentialSourceAuthenticationHandlerResolver
    extends java.lang.Object
    implements org.apereo.cas.authentication.AuthenticationHandlerResolver
    This is ByCredentialSourceAuthenticationHandlerResolver that attempts to capture the source from the credential and limit the handlers to the matching source.
    Since:
    6.0.0
    • Field Summary

      • 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
    • Constructor Detail

      • ByCredentialSourceAuthenticationHandlerResolver

        public ByCredentialSourceAuthenticationHandlerResolver()
    • 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