Class RegisteredServiceAuthenticationHandlerResolver

java.lang.Object
org.apereo.cas.authentication.handler.RegisteredServiceAuthenticationHandlerResolver
All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationHandlerResolver, org.springframework.core.Ordered

public class RegisteredServiceAuthenticationHandlerResolver extends 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 inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegisteredServiceAuthenticationHandlerResolver(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationServiceSelectionPlan)
    Creates a new RegisteredServiceAuthenticationHandlerResolver instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.authentication.AuthenticationServiceSelectionPlan
    The service selection plan.
    int
     
    org.apereo.cas.services.ServicesManager
    The Services manager.
    Set<org.apereo.cas.authentication.AuthenticationHandler>
    resolve(Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)
     
    void
    setOrder(int order)
     
    boolean
    supports(Set<org.apereo.cas.authentication.AuthenticationHandler> handlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegisteredServiceAuthenticationHandlerResolver

      public RegisteredServiceAuthenticationHandlerResolver(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationServiceSelectionPlan)
      Creates a new RegisteredServiceAuthenticationHandlerResolver instance.
      Parameters:
      servicesManager - The Services manager.
      authenticationServiceSelectionPlan - The service selection plan.
  • Method Details

    • resolve

      public Set<org.apereo.cas.authentication.AuthenticationHandler> resolve(Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers, org.apereo.cas.authentication.AuthenticationTransaction transaction) throws Throwable
      Specified by:
      resolve in interface org.apereo.cas.authentication.AuthenticationHandlerResolver
      Throws:
      Throwable
    • supports

      public boolean supports(Set<org.apereo.cas.authentication.AuthenticationHandler> handlers, org.apereo.cas.authentication.AuthenticationTransaction transaction) throws Throwable
      Specified by:
      supports in interface org.apereo.cas.authentication.AuthenticationHandlerResolver
      Throws:
      Throwable
    • getServicesManager

      public org.apereo.cas.services.ServicesManager getServicesManager()
      The Services manager.
    • getAuthenticationServiceSelectionPlan

      public org.apereo.cas.authentication.AuthenticationServiceSelectionPlan getAuthenticationServiceSelectionPlan()
      The service selection plan.
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.apereo.cas.authentication.AuthenticationHandlerResolver
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)