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 aLogoutContext.It signals an error if the context still contains any
IdPSessionobjects, indicating a logout was cancelled.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,LogoutContext>logoutContextLookupStrategyLookup strategy for context.
-
Constructor Summary
Constructors Constructor Description LogoutStatusStrategyFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>apply(ProfileRequestContext input)voidsetLogoutContextLookupStrategy(Function<ProfileRequestContext,LogoutContext> strategy)Set the lookup strategy for the LogoutContext to access.
-
-
-
Field Detail
-
logoutContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,LogoutContext> logoutContextLookupStrategy
Lookup strategy for context.
-
-
Method Detail
-
setLogoutContextLookupStrategy
public void setLogoutContextLookupStrategy(@Nonnull Function<ProfileRequestContext,LogoutContext> strategy)Set the lookup strategy for the LogoutContext to access.- Parameters:
strategy- lookup strategy
-
apply
@Nullable public List<String> apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,List<String>>
-
-