Class ProfileRequestContextFlowExecutionListener
java.lang.Object
net.shibboleth.idp.profile.support.ProfileRequestContextFlowExecutionListener
- All Implemented Interfaces:
FlowExecutionListener
public class ProfileRequestContextFlowExecutionListener
extends Object
implements FlowExecutionListener
Exposes the
ProfileRequestContext in a request attribute to make it
accessible outside the Webflow execution pipeline. The PRC is stored under the key
ProfileRequestContext.BINDING_KEY.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ProfileRequestContextgetProfileRequestContext(RequestContext context) Get the profile request context bound to conversation scope.private ServletRequestgetRequest(RequestContext context) Get the servlet request.voidresuming(RequestContext context) voidstateEntered(RequestContext context, StateDefinition previousState, StateDefinition newState) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.webflow.execution.FlowExecutionListener
eventSignaled, exceptionThrown, paused, requestProcessed, requestSubmitted, sessionCreating, sessionEnded, sessionEnding, sessionStarted, sessionStarting, stateEntering, transitionExecuting, viewRendered, viewRendering
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logLogger instance.
-
-
Constructor Details
-
ProfileRequestContextFlowExecutionListener
public ProfileRequestContextFlowExecutionListener()
-
-
Method Details
-
stateEntered
public void stateEntered(RequestContext context, StateDefinition previousState, StateDefinition newState) - Specified by:
stateEnteredin interfaceFlowExecutionListener
-
resuming
- Specified by:
resumingin interfaceFlowExecutionListener
-
getProfileRequestContext
Get the profile request context bound to conversation scope.- Parameters:
context- Spring request context- Returns:
- the bound profile request context, or null
-
getRequest
Get the servlet request.- Parameters:
context- Spring request context- Returns:
- servlet request, or null
-