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 ProfileRequestContext
getProfileRequestContext
(RequestContext context) Get the profile request context bound to conversation scope.private javax.servlet.ServletRequest
getRequest
(RequestContext context) Get the servlet request.void
resuming
(RequestContext context) void
stateEntered
(RequestContext context, StateDefinition previousState, StateDefinition newState) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
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:
stateEntered
in interfaceFlowExecutionListener
-
resuming
- Specified by:
resuming
in 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
-