public interface MessageInfoContext extends Context
The authentication framework uses this MessageContextInfo
to pass messages and
message processing state to authentication modules for processing of messages.
This class encapsulates a request and response message objects for a message exchange. This class may also be used to associate additional context in the form of key/value pairs, with the encapsulated messages.
MessageInfo
Modifier and Type | Method and Description |
---|---|
Request |
getRequest()
Gets the request object from this
MessageContextInfo . |
Map<String,Object> |
getRequestContextMap()
Gets the context map for this message exchange.
|
Response |
getResponse()
Gets the response object from this
MessageContextInfo . |
void |
setRequest(Request request)
Sets the request object for this
MessageContextInfo . |
void |
setResponse(Response response)
Sets the response object for this
MessageContextInfo . |
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue
Request getRequest()
MessageContextInfo
.Request
object.Response getResponse()
MessageContextInfo
.Response
object.void setRequest(Request request)
MessageContextInfo
.request
- The Request
object.void setResponse(Response response)
MessageContextInfo
.response
- The Response
object.Map<String,Object> getRequestContextMap()
Gets the context map for this message exchange.
This Map
can contain shared information between
AsyncServerAuthContext
s and
AsyncServerAuthModule
s which will be maintained
for a single request.
Copyright © 2010-2018, ForgeRock All Rights Reserved.