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
ConstructorsConstructorDescriptionRegisteredServiceAuthenticationPolicyResolver(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationServiceSelectionPlan) Creates a newRegisteredServiceAuthenticationPolicyResolverinstance. -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.authentication.AuthenticationServiceSelectionPlanThe service selection plan.intgetOrder()org.apereo.cas.services.ServicesManagerThe Services manager.Set<org.apereo.cas.authentication.AuthenticationPolicy> resolve(org.apereo.cas.authentication.AuthenticationTransaction transaction) voidsetOrder(int order) booleansupports(org.apereo.cas.authentication.AuthenticationTransaction transaction)
-
Constructor Details
-
RegisteredServiceAuthenticationPolicyResolver
public RegisteredServiceAuthenticationPolicyResolver(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationServiceSelectionPlan) Creates a newRegisteredServiceAuthenticationPolicyResolverinstance.- 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:
resolvein interfaceorg.apereo.cas.authentication.AuthenticationPolicyResolver- Throws:
Throwable
-
supports
public boolean supports(org.apereo.cas.authentication.AuthenticationTransaction transaction) throws Throwable - Specified by:
supportsin interfaceorg.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:
getOrderin interfaceorg.apereo.cas.authentication.AuthenticationPolicyResolver- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-