public class SelectSubjectCanonicalizationFlow extends AbstractSubjectCanonicalizationAction
This is the heart of the c14n processing sequence, and runs after the
SubjectCanonicalizationContext has been fully 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 executeProfileRequestContext.getSubcontext(SubjectCanonicalizationContext.class, false) != null
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
SelectSubjectCanonicalizationFlow() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext,
SubjectCanonicalizationContext c14nContext) |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext,
SubjectCanonicalizationContext c14nContext) |
private SubjectCanonicalizationFlowDescriptor |
selectUnattemptedFlow(ProfileRequestContext profileRequestContext,
SubjectCanonicalizationContext c14nContext)
Select the first potential flow not found in the intermediate flows collection,
and that is applicable to the context.
|
applyTransforms, doExecute, doPreExecute, setLookupStrategy, setLowercase, setTransforms, setTrim, setUppercasedoExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, 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
protected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull SubjectCanonicalizationContext c14nContext)
doPreExecute in class AbstractSubjectCanonicalizationActionprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull SubjectCanonicalizationContext c14nContext)
doExecute in class AbstractSubjectCanonicalizationAction@Nullable private SubjectCanonicalizationFlowDescriptor selectUnattemptedFlow(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull SubjectCanonicalizationContext c14nContext)
profileRequestContext - the current IdP profile request contextc14nContext - the current c14n contextCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.