Package org.apereo.cas.authentication
Class DefaultAuthenticationServiceSelectionPlan
java.lang.Object
org.apereo.cas.authentication.DefaultAuthenticationServiceSelectionPlan
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan
public class DefaultAuthenticationServiceSelectionPlan
extends Object
implements org.apereo.cas.authentication.AuthenticationServiceSelectionPlan
- Since:
- 5.1.0
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.AuthenticationServiceSelectionPlan
BEAN_NAME -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAuthenticationServiceSelectionPlan(List<org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy> strategies) DefaultAuthenticationServiceSelectionPlan(org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy... strategies) -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterStrategy(org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy strategy) org.apereo.cas.authentication.principal.ServiceresolveService(org.apereo.cas.authentication.principal.Service service) <T extends org.apereo.cas.authentication.principal.Service>
TresolveService(org.apereo.cas.authentication.principal.Service service, Class<T> clazz)
-
Constructor Details
-
DefaultAuthenticationServiceSelectionPlan
public DefaultAuthenticationServiceSelectionPlan(org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy... strategies) -
DefaultAuthenticationServiceSelectionPlan
public DefaultAuthenticationServiceSelectionPlan(List<org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy> strategies)
-
-
Method Details
-
registerStrategy
public void registerStrategy(org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy strategy) - Specified by:
registerStrategyin interfaceorg.apereo.cas.authentication.AuthenticationServiceSelectionPlan
-
resolveService
public org.apereo.cas.authentication.principal.Service resolveService(org.apereo.cas.authentication.principal.Service service) throws Throwable - Specified by:
resolveServicein interfaceorg.apereo.cas.authentication.AuthenticationServiceSelectionPlan- Throws:
Throwable
-
resolveService
public <T extends org.apereo.cas.authentication.principal.Service> T resolveService(org.apereo.cas.authentication.principal.Service service, Class<T> clazz) throws Throwable - Specified by:
resolveServicein interfaceorg.apereo.cas.authentication.AuthenticationServiceSelectionPlan- Throws:
Throwable
-