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.OrderedThis isSingleSignOnParticipationStrategy.- Since:
- 5.2.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SingleSignOnParticipationStrategyalwaysParticipating()Always participating single sign on participation strategy.default intgetOrder()default booleanisCreateCookieOnRenewedAuthentication(org.springframework.webflow.execution.RequestContext context)Is creating single sign on session cookie on renewed authentication?booleanisParticipating(org.springframework.webflow.execution.RequestContext context)Tries to determine if this request should participate in SSO.static SingleSignOnParticipationStrategyneverParticipating()Never participating single sign on participation strategy.default booleansupports(org.springframework.webflow.execution.RequestContext context)Does strategy support this request or not?
-
-
-
Method Detail
-
isParticipating
boolean isParticipating(org.springframework.webflow.execution.RequestContext context)
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:
context- the request- Returns:
- true if authn is renewed
-
supports
default boolean supports(org.springframework.webflow.execution.RequestContext context)
Does strategy support this request or not?- Parameters:
context- the context- Returns:
- the boolean
-
getOrder
default int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
isCreateCookieOnRenewedAuthentication
default boolean isCreateCookieOnRenewedAuthentication(org.springframework.webflow.execution.RequestContext context)
Is creating single sign on session cookie on renewed authentication?- Parameters:
context- the context- Returns:
- the boolean
-
alwaysParticipating
static SingleSignOnParticipationStrategy alwaysParticipating()
Always participating single sign on participation strategy.- Returns:
- the single sign on participation strategy
-
neverParticipating
static SingleSignOnParticipationStrategy neverParticipating()
Never participating single sign on participation strategy.- Returns:
- the single sign on participation strategy
-
-