public interface MessageInfo
A message processing runtime uses this interface to pass messages and message processing state to authentication contexts for processing by authentication modules.
This interface encapsulates a request message object and a response message object for a message exchange. This interface may also be used to associate additional context in the form of key/value pairs, with the encapsulated messages.
Every implementation of this interface should provide a zero argument constructor, and a constructor which takes a single Map argument. Additional constructors may also be provided.
Map
Modifier and Type | Method and Description |
---|---|
Map |
getMap()
Get (a reference to) the Map object of this MessageInfo.
|
Object |
getRequestMessage()
Get the request message object from this MessageInfo.
|
Object |
getResponseMessage()
Get the response message object from this MessageInfo.
|
void |
setRequestMessage(Object request)
Set the request message object in this MessageInfo.
|
void |
setResponseMessage(Object response)
Set the response message object in this MessageInfo.
|
Map getMap()
Get (a reference to) the Map object of this MessageInfo. Operations performed on the acquired Map must effect the Map within the MessageInfo.
Object getRequestMessage()
Get the request message object from this MessageInfo.
Object getResponseMessage()
Get the response message object from this MessageInfo.
void setRequestMessage(Object request)
Set the request message object in this MessageInfo.
request
- An object representing the request message.void setResponseMessage(Object response)
Set the response message object in this MessageInfo.
response
- An object representing the response message.Copyright © 2017 JBoss by Red Hat. All rights reserved.