Package org.apereo.cas.web.flow
Interface SingleSignOnParticipationStrategy
- All Superinterfaces:
org.springframework.core.Ordered
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface SingleSignOnParticipationStrategy
extends org.springframework.core.Ordered
This is
SingleSignOnParticipationStrategy.- Since:
- 5.2.0
-
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionAlways participating single sign on participation strategy.default StringgetName()Returns the friendly name of this strategy.default intgetOrder()default org.apereo.cas.configuration.support.TriStateBooleanIs creating single sign on session cookie on renewed authentication?booleanisParticipating(SingleSignOnParticipationRequest ssoRequest) Tries to determine if this request should participate in SSO.Never participating single sign on participation strategy.default booleansupports(SingleSignOnParticipationRequest ssoRequest) Does strategy support this request or not?
-
Field Details
-
BEAN_NAME
Default implementation bean name.- See Also:
-
-
Method Details
-
alwaysParticipating
Always participating single sign on participation strategy.- Returns:
- the single sign on participation strategy
-
neverParticipating
Never participating single sign on participation strategy.- Returns:
- the single sign on participation strategy
-
isParticipating
Tries to determine if this request should participate in SSO. Services can opt out of SSO conditionally either per policy or per request parameters. Various internal processes in CAS also try to determine whether SSO should be honored for this request.- Parameters:
ssoRequest- the request- Returns:
- true if authn is renewed
- Throws:
Throwable- the throwable
-
supports
Does strategy support this request or not?- Parameters:
ssoRequest- the context- Returns:
- true/false
-
getOrder
default int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
isCreateCookieOnRenewedAuthentication
default org.apereo.cas.configuration.support.TriStateBoolean isCreateCookieOnRenewedAuthentication(SingleSignOnParticipationRequest context) Is creating single sign on session cookie on renewed authentication?- Parameters:
context- the context- Returns:
- true/false
-
getName
Returns the friendly name of this strategy.- Returns:
- the name.
- Since:
- 6.4.0
-