Class ProfileInterceptorContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.profile.context.ProfileInterceptorContext
- All Implemented Interfaces:
Iterable<BaseContext>
A
BaseContext
which holds flows that are available to be executed, the last flow attempted, and any flow
result.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ProfileInterceptorFlowDescriptor
The last flow attempted.private final Map<String,
ProfileInterceptorFlowDescriptor> Flows that need to be executed.private final List<ProfileInterceptorResult>
Results of the flow to be written to storage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the last flow that was attempted.Get the flows that are available to be executed.Get the results of the flow to be written to storage.void
Set the last flow that was attempted.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
attemptedFlow
The last flow attempted. -
availableFlows
Flows that need to be executed. -
results
Results of the flow to be written to storage.
-
-
Constructor Details
-
ProfileInterceptorContext
public ProfileInterceptorContext()Constructor.
-
-
Method Details
-
getAttemptedFlow
Get the last flow that was attempted.- Returns:
- last flow that was attempted
-
setAttemptedFlow
Set the last flow that was attempted.- Parameters:
flow
- last flow that was attempted
-
getAvailableFlows
@Nonnull @NonnullElements @Live public Map<String,ProfileInterceptorFlowDescriptor> getAvailableFlows()Get the flows that are available to be executed.- Returns:
- the available flows
-
getResults
Get the results of the flow to be written to storage.- Returns:
- the results of the flow to be written to storage
-