Class RegisteredServiceAuthenticationPolicyResolver

java.lang.Object
org.apereo.cas.authentication.policy.RegisteredServiceAuthenticationPolicyResolver
All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationPolicyResolver, org.springframework.core.Ordered

public class RegisteredServiceAuthenticationPolicyResolver extends Object implements org.apereo.cas.authentication.AuthenticationPolicyResolver
This is RegisteredServiceAuthenticationPolicyResolver 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
    RegisteredServiceAuthenticationPolicyResolver(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationServiceSelectionPlan)
    Creates a new RegisteredServiceAuthenticationPolicyResolver 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.AuthenticationPolicy>
    resolve(org.apereo.cas.authentication.AuthenticationTransaction transaction)
     
    void
    setOrder(int order)
     
    boolean
    supports(org.apereo.cas.authentication.AuthenticationTransaction transaction)
     

    Methods inherited from class java.lang.Object

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

    • RegisteredServiceAuthenticationPolicyResolver

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

    • resolve

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

      public boolean supports(org.apereo.cas.authentication.AuthenticationTransaction transaction) throws Throwable
      Specified by:
      supports in interface org.apereo.cas.authentication.AuthenticationPolicyResolver
      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.AuthenticationPolicyResolver
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)