|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageContext
A message context represents the entire context for a given message through the receive, process, and/or response phases. It is a basic unit of work within the library. Message contexts are NOT thread safe.
Method Summary | |
---|---|
java.lang.String |
getCommunicationProfileId()
Gets the unique id of the communication profile in use. |
org.opensaml.xml.XMLObject |
getInboundMessage()
Gets the inbound message. |
java.lang.String |
getInboundMessageIssuer()
Gets the issuer of the inbound message. |
InTransport |
getInboundMessageTransport()
Gets the transport used to receive the message. |
org.opensaml.xml.XMLObject |
getOutboundMessage()
Gets the outbound message. |
java.lang.String |
getOutboundMessageIssuer()
Gets the issuer of the outbound message. |
OutTransport |
getOutboundMessageTransport()
Gets the transport used to respond to the message. |
SecurityPolicyResolver |
getSecurityPolicyResolver()
Gets the resolver used to determine active SecurityPolicy. |
boolean |
isIssuerAuthenticated()
Gets whether the issuer of the inbound message represented by this context has been authenticated. |
void |
setCommunicationProfileId(java.lang.String id)
Sets the unique id of the communication profile in use. |
void |
setInboundMessage(org.opensaml.xml.XMLObject message)
Sets the inbound message. |
void |
setInboundMessageIssuer(java.lang.String issuer)
Sets the issuer of the inbound message. |
void |
setInboundMessageTransport(InTransport transport)
Sets the transport used to used to receive the message. |
void |
setOutboundMessage(org.opensaml.xml.XMLObject message)
Sets the outbound message. |
void |
setOutboundMessageIssuer(java.lang.String issuer)
Sets the issuer of the outbound message. |
void |
setOutboundMessageTransport(OutTransport transport)
Sets the transport used to respond to the message. |
void |
setSecurityPolicyResolver(SecurityPolicyResolver resolver)
Sets the resolver used to determine active SecurityPolicy. |
Method Detail |
---|
java.lang.String getCommunicationProfileId()
org.opensaml.xml.XMLObject getInboundMessage()
java.lang.String getInboundMessageIssuer()
InTransport getInboundMessageTransport()
org.opensaml.xml.XMLObject getOutboundMessage()
java.lang.String getOutboundMessageIssuer()
OutTransport getOutboundMessageTransport()
SecurityPolicyResolver getSecurityPolicyResolver()
boolean isIssuerAuthenticated()
void setCommunicationProfileId(java.lang.String id)
id
- unique id of the communication profile in usevoid setInboundMessage(org.opensaml.xml.XMLObject message)
message
- the inbound messagevoid setInboundMessageIssuer(java.lang.String issuer)
issuer
- issuer of the inbound messagevoid setInboundMessageTransport(InTransport transport)
transport
- the transport used to receive the messagevoid setOutboundMessage(org.opensaml.xml.XMLObject message)
message
- the outbound messagevoid setOutboundMessageIssuer(java.lang.String issuer)
issuer
- issuer of the outbound messagevoid setOutboundMessageTransport(OutTransport transport)
transport
- the transport used to respond to the messagevoid setSecurityPolicyResolver(SecurityPolicyResolver resolver)
resolver
- resolver used to determine active SecurityPolicy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |