InboundMessageType - type of in-bound messageOutboundMessageType - type of out-bound message@ThreadSafe public final class ProfileRequestContext<InboundMessageType,OutboundMessageType> extends org.opensaml.messaging.context.InOutOperationContext<InboundMessageType,OutboundMessageType>
| Modifier and Type | Field and Description |
|---|---|
static String |
ANONYMOUS_PROFILE_ID
Profile ID if not overridden.
|
static String |
BINDING_KEY
ID under which this context is stored, for example, within maps or sessions.
|
| Constructor and Description |
|---|
ProfileRequestContext()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLoggingId()
Get the logging ID of the profile used by the current request.
|
String |
getProfileId()
Get the ID of the profile used by the current request.
|
boolean |
isBrowserProfile()
Get whether the current profile request is browser-based (defaults to false).
|
void |
setBrowserProfile(boolean browser)
Set whether the current profile request is browser-based.
|
void |
setLoggingId(String id)
Set the logging ID of the profile used by the current request.
|
void |
setProfileId(String id)
Set the ID of the profile used by the current request.
|
getInboundMessageContext, getOutboundMessageContext, setInboundMessageContext, setOutboundMessageContextaddSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final String BINDING_KEY
public static final String ANONYMOUS_PROFILE_ID
@Nonnull @NotEmpty public String getProfileId()
public void setProfileId(@Nullable String id)
id - ID of the profile used by the current request@Nonnull @NotEmpty public String getLoggingId()
The logging ID is used for audit logging and may be used for other logging-related functions such as in diagnostic contexts.
public void setLoggingId(@Nullable String id)
The logging ID is used for audit logging and may be used for other logging-related functions such as in diagnostic contexts.
id - ID of the profile used for loggingpublic boolean isBrowserProfile()
public void setBrowserProfile(boolean browser)
browser - whether the current profile request is browser-basedCopyright © 2016 JBoss by Red Hat. All rights reserved.