Package net.shibboleth.idp.session.impl
Class LogoutStatusStrategyFunction
java.lang.Object
net.shibboleth.idp.session.impl.LogoutStatusStrategyFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,
List<String>>
public class LogoutStatusStrategyFunction
extends Object
implements Function<ProfileRequestContext,List<String>>
A strategy function for determining the status of a logout based on the content of
a
LogoutContext
.
It signals an error if the context still contains any IdPSession
objects,
indicating a logout was cancelled.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,
LogoutContext> Lookup strategy for context. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(ProfileRequestContext input) void
Set the lookup strategy for the LogoutContext to access.
-
Field Details
-
logoutContextLookupStrategy
Lookup strategy for context.
-
-
Constructor Details
-
LogoutStatusStrategyFunction
public LogoutStatusStrategyFunction()Constructor.
-
-
Method Details
-
setLogoutContextLookupStrategy
public void setLogoutContextLookupStrategy(@Nonnull Function<ProfileRequestContext, LogoutContext> strategy) Set the lookup strategy for the LogoutContext to access.- Parameters:
strategy
- lookup strategy
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,
List<String>>
-