@ThreadSafe public final class InitializeProfileRequestContext extends AbstractProfileAction
ProfileRequestContext and binds it to the current conversation under the
ProfileRequestContext.BINDING_KEY key, and sets the profile and logging IDs, if provided.
This is a native SWF action in order to access conversation scope.
EventIds.PROCEED_EVENT_ID| Modifier and Type | Field and Description |
|---|---|
private boolean |
browserProfile
Whether this is a browser-based profile request.
|
private String |
loggingId
The logging ID to initialize the context to.
|
private String |
profileId
The profile ID to initialize the context to.
|
| Constructor and Description |
|---|
InitializeProfileRequestContext() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.webflow.execution.Event |
execute(org.springframework.webflow.execution.RequestContext springRequestContext) |
void |
setBrowserProfile(boolean browser)
Set whether the request is browser-based, defaults to false.
|
void |
setLoggingId(String id)
Set the logging ID to populate into the context.
|
void |
setProfileId(String id)
Set the profile ID to populate into the context.
|
doExecute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategydoPreExecute, getActivationCondition, setActivationConditiondoExecute, doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitializedprivate boolean browserProfile
public void setProfileId(@Nullable String id)
id - profile ID to populate into the contextpublic void setLoggingId(@Nullable String id)
id - logging ID to populate into the contextpublic void setBrowserProfile(boolean browser)
browser - true iff the request is browser based@Nonnull public org.springframework.webflow.execution.Event execute(@Nonnull org.springframework.webflow.execution.RequestContext springRequestContext)
execute in interface org.springframework.webflow.execution.Actionexecute in class AbstractProfileActionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.