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 com.google.common.base.Function<SPSession,LogoutPropagationFlowDescriptor> |
flowSelectorFunction
Selection function to determine suitable LogoutPropagationFlowDescriptor for given SPSession.
|
private org.slf4j.Logger |
log
Class logger.
|
private com.google.common.base.Function<ProfileRequestContext,LogoutPropagationContext> |
logoutPropagationContextFunction
Function to retrieve LogoutPropagationContext from context tree.
|
| Constructor and Description |
|---|
SelectLogoutPropagationFlow(com.google.common.base.Function<SPSession,LogoutPropagationFlowDescriptor> selector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
void |
setLogoutPropagationContextFunction(com.google.common.base.Function<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 org.slf4j.Logger log
@Nonnull private final com.google.common.base.Function<SPSession,LogoutPropagationFlowDescriptor> flowSelectorFunction
@Nonnull private com.google.common.base.Function<ProfileRequestContext,LogoutPropagationContext> logoutPropagationContextFunction
public SelectLogoutPropagationFlow(@Nonnull com.google.common.base.Function<SPSession,LogoutPropagationFlowDescriptor> selector)
selector - mapping function from session to flow descriptorpublic void setLogoutPropagationContextFunction(@Nonnull com.google.common.base.Function<ProfileRequestContext,LogoutPropagationContext> function)
LogoutPropagationContext from the context tree.function - Lookup function.protected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.