Package net.shibboleth.idp.session.impl
Class SaveLogoutContext
-
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
public class SaveLogoutContext extends AbstractProfileAction
Stores theLogoutContextin the servlet session to facilitate lookup by logout propagation flows.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.static StringLOGOUT_CONTEXT_KEYKey name under which LogoutContext is stored in Session.private Function<ProfileRequestContext,LogoutContext>logoutContextLookupLooks up a LogoutContext from PRC.
-
Constructor Summary
Constructors Constructor Description SaveLogoutContext()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventdoExecute(RequestContext springRequestContext, ProfileRequestContext profileRequestContext)voidsetLogoutContextLookupStrategy(Function<ProfileRequestContext,LogoutContext> strategy)Set the lookup strategy for theLogoutContext.-
Methods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategy
-
Methods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
doPreExecute, getActivationCondition, setActivationCondition
-
Methods inherited from class org.opensaml.profile.action.AbstractProfileAction
doExecute, doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponse
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
-
-
-
Field Detail
-
LOGOUT_CONTEXT_KEY
@Nonnull @NotEmpty public static final String LOGOUT_CONTEXT_KEY
Key name under which LogoutContext is stored in Session.- See Also:
- Constant Field Values
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
logoutContextLookup
@Nonnull private Function<ProfileRequestContext,LogoutContext> logoutContextLookup
Looks up a LogoutContext from PRC.
-
-
Method Detail
-
setLogoutContextLookupStrategy
public void setLogoutContextLookupStrategy(@Nonnull Function<ProfileRequestContext,LogoutContext> strategy)Set the lookup strategy for theLogoutContext.- Parameters:
strategy- lookup strategy
-
doExecute
@Nonnull protected Event doExecute(@Nonnull RequestContext springRequestContext, @Nonnull ProfileRequestContext profileRequestContext)
- Overrides:
doExecutein classAbstractProfileAction
-
-