public class BaseMessageContext extends Object implements MessageContext
| Constructor and Description |
|---|
BaseMessageContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommunicationProfileId()
Gets the unique id of the communication profile in use.
|
org.opensaml.xml.XMLObject |
getInboundMessage()
Gets the inbound message.
|
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.
|
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(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(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(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.
|
public String getCommunicationProfileId()
getCommunicationProfileId in interface MessageContextpublic org.opensaml.xml.XMLObject getInboundMessage()
getInboundMessage in interface MessageContextpublic String getInboundMessageIssuer()
getInboundMessageIssuer in interface MessageContextpublic InTransport getInboundMessageTransport()
getInboundMessageTransport in interface MessageContextpublic org.opensaml.xml.XMLObject getOutboundMessage()
getOutboundMessage in interface MessageContextpublic String getOutboundMessageIssuer()
getOutboundMessageIssuer in interface MessageContextpublic OutTransport getOutboundMessageTransport()
getOutboundMessageTransport in interface MessageContextpublic SecurityPolicyResolver getSecurityPolicyResolver()
getSecurityPolicyResolver in interface MessageContextpublic void setCommunicationProfileId(String id)
setCommunicationProfileId in interface MessageContextid - unique id of the communication profile in usepublic void setInboundMessage(org.opensaml.xml.XMLObject message)
setInboundMessage in interface MessageContextmessage - the inbound messagepublic void setInboundMessageIssuer(String issuer)
setInboundMessageIssuer in interface MessageContextissuer - issuer of the inbound messagepublic void setInboundMessageTransport(InTransport transport)
setInboundMessageTransport in interface MessageContexttransport - the transport used to receive the messagepublic void setOutboundMessage(org.opensaml.xml.XMLObject message)
setOutboundMessage in interface MessageContextmessage - the outbound messagepublic void setOutboundMessageIssuer(String issuer)
setOutboundMessageIssuer in interface MessageContextissuer - issuer of the outbound messagepublic void setOutboundMessageTransport(OutTransport transport)
setOutboundMessageTransport in interface MessageContexttransport - the transport used to respond to the messagepublic void setSecurityPolicyResolver(SecurityPolicyResolver resolver)
setSecurityPolicyResolver in interface MessageContextresolver - resolver used to determine active SecurityPolicypublic boolean isIssuerAuthenticated()
isIssuerAuthenticated in interface MessageContextCopyright © 2006-2013 Internet2. All Rights Reserved.