public class PopulateLogoutContextForPropagation
extends net.shibboleth.idp.profile.AbstractProfileAction
SPSession object from an HTTP request parameter, and
attaches it to a LogoutContext created with a strategy function.EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX, EventIds.UNABLE_TO_DECODESPSession is found and successfully deserialized, then a LogoutContext will be populated.| Modifier and Type | Field and Description |
|---|---|
private net.shibboleth.utilities.java.support.security.DataSealer |
dataSealer
DataSealer to use. |
private Logger |
log
Class logger.
|
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,LogoutContext> |
logoutContextCreationStrategy
Creation/lookup function for LogoutContext.
|
private SPSession |
session
SPSession to operate on. |
private static String |
SPSESSION_PARAM
Name of parameter containing session.
|
private SPSessionSerializerRegistry |
spSessionSerializerRegistry
Mappings between a SPSession type and a serializer implementation.
|
| Constructor and Description |
|---|
PopulateLogoutContextForPropagation()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
protected void |
doInitialize() |
protected boolean |
doPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
void |
setDataSealer(net.shibboleth.utilities.java.support.security.DataSealer sealer)
Set the
DataSealer to use. |
void |
setLogoutContextCreationStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,LogoutContext> strategy)
Set the creation/lookup strategy for the LogoutContext to populate.
|
void |
setSPSessionSerializerRegistry(SPSessionSerializerRegistry registry)
Set the
SPSessionSerializerRegistry to use. |
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull @NotEmpty private static final String SPSESSION_PARAM
@NonnullAfterInit private net.shibboleth.utilities.java.support.security.DataSealer dataSealer
DataSealer to use.@NonnullAfterInit private SPSessionSerializerRegistry spSessionSerializerRegistry
@Nonnull private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,LogoutContext> logoutContextCreationStrategy
public PopulateLogoutContextForPropagation()
public void setDataSealer(@Nonnull net.shibboleth.utilities.java.support.security.DataSealer sealer)
DataSealer to use.sealer - the DataSealer to usepublic void setSPSessionSerializerRegistry(@Nonnull SPSessionSerializerRegistry registry)
SPSessionSerializerRegistry to use.registry - a registry of SPSession class to serializer mappingspublic void setLogoutContextCreationStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,LogoutContext> strategy)
strategy - creation/lookup strategyprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected boolean doPreExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doPreExecute in class org.opensaml.profile.action.AbstractConditionalProfileActionprotected void doExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doExecute in class org.opensaml.profile.action.AbstractProfileActionCopyright © 1999–2014. All rights reserved.