public class SelectLogoutPropagationFlow
extends net.shibboleth.idp.profile.AbstractProfileAction
This is the heart of the logout propagation processing sequence, and runs after the
LogoutContext has been populated. It uses the potential flows,
and their associated activation conditions to decide how to proceed.
This is a rare case in that the standard default event,
EventIds.PROCEED_EVENT_ID, cannot be returned,
because the action must either dispatch to a flow by name, or signal an error.
AuthnEventIds.NO_POTENTIAL_FLOW, Selected flow ID to execute| Modifier and Type | Field and Description |
|---|---|
private Function<SPSession,LogoutPropagationFlowDescriptor> |
flowSelectorFunction
Selection function to determine suitable LogoutPropagationFlowDescriptor for given SPSession.
|
private Logger |
log
Class logger.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,LogoutPropagationContext> |
logoutPropagationContextFunction
Function to retrieve LogoutPropagationContext from context tree.
|
| Constructor and Description |
|---|
SelectLogoutPropagationFlow(Function<SPSession,LogoutPropagationFlowDescriptor> selector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
void |
setLogoutPropagationContextFunction(Function<org.opensaml.profile.context.ProfileRequestContext,LogoutPropagationContext> function)
Sets the function used to retrieve the
LogoutPropagationContext from the context tree. |
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategydoPreExecute, getActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final Function<SPSession,LogoutPropagationFlowDescriptor> flowSelectorFunction
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,LogoutPropagationContext> logoutPropagationContextFunction
public SelectLogoutPropagationFlow(@Nonnull Function<SPSession,LogoutPropagationFlowDescriptor> selector)
selector - mapping function from session to flow descriptorpublic void setLogoutPropagationContextFunction(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,LogoutPropagationContext> function)
LogoutPropagationContext from the context tree.function - Lookup function.protected void doExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doExecute in class org.opensaml.profile.action.AbstractProfileActionCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.