org.opensaml.ws.message
Class BaseMessageContext

java.lang.Object
  extended by org.opensaml.ws.message.BaseMessageContext
All Implemented Interfaces:
MessageContext

public class BaseMessageContext
extends java.lang.Object
implements MessageContext

Base class for message context implementations.


Constructor Summary
BaseMessageContext()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseMessageContext

public BaseMessageContext()
Method Detail

getCommunicationProfileId

public java.lang.String getCommunicationProfileId()
Gets the unique id of the communication profile in use.

Specified by:
getCommunicationProfileId in interface MessageContext
Returns:
unique id of the communication profile in use

getInboundMessage

public org.opensaml.xml.XMLObject getInboundMessage()
Gets the inbound message.

Specified by:
getInboundMessage in interface MessageContext
Returns:
the inbound message

getInboundMessageIssuer

public java.lang.String getInboundMessageIssuer()
Gets the issuer of the inbound message.

Specified by:
getInboundMessageIssuer in interface MessageContext
Returns:
issuer of the inbound message

getInboundMessageTransport

public InTransport getInboundMessageTransport()
Gets the transport used to receive the message.

Specified by:
getInboundMessageTransport in interface MessageContext
Returns:
transport used to receive the message

getOutboundMessage

public org.opensaml.xml.XMLObject getOutboundMessage()
Gets the outbound message.

Specified by:
getOutboundMessage in interface MessageContext
Returns:
the outbound message

getOutboundMessageIssuer

public java.lang.String getOutboundMessageIssuer()
Gets the issuer of the outbound message.

Specified by:
getOutboundMessageIssuer in interface MessageContext
Returns:
issuer of the outbound message

getOutboundMessageTransport

public OutTransport getOutboundMessageTransport()
Gets the transport used to respond to the message.

Specified by:
getOutboundMessageTransport in interface MessageContext
Returns:
transport used to respond to the message

getSecurityPolicyResolver

public SecurityPolicyResolver getSecurityPolicyResolver()
Gets the resolver used to determine active SecurityPolicy.

Specified by:
getSecurityPolicyResolver in interface MessageContext
Returns:
resolver used to determine active SecurityPolicy

setCommunicationProfileId

public void setCommunicationProfileId(java.lang.String id)
Sets the unique id of the communication profile in use.

Specified by:
setCommunicationProfileId in interface MessageContext
Parameters:
id - unique id of the communication profile in use

setInboundMessage

public void setInboundMessage(org.opensaml.xml.XMLObject message)
Sets the inbound message.

Specified by:
setInboundMessage in interface MessageContext
Parameters:
message - the inbound message

setInboundMessageIssuer

public void setInboundMessageIssuer(java.lang.String issuer)
Sets the issuer of the inbound message.

Specified by:
setInboundMessageIssuer in interface MessageContext
Parameters:
issuer - issuer of the inbound message

setInboundMessageTransport

public void setInboundMessageTransport(InTransport transport)
Sets the transport used to used to receive the message.

Specified by:
setInboundMessageTransport in interface MessageContext
Parameters:
transport - the transport used to receive the message

setOutboundMessage

public void setOutboundMessage(org.opensaml.xml.XMLObject message)
Sets the outbound message.

Specified by:
setOutboundMessage in interface MessageContext
Parameters:
message - the outbound message

setOutboundMessageIssuer

public void setOutboundMessageIssuer(java.lang.String issuer)
Sets the issuer of the outbound message.

Specified by:
setOutboundMessageIssuer in interface MessageContext
Parameters:
issuer - issuer of the outbound message

setOutboundMessageTransport

public void setOutboundMessageTransport(OutTransport transport)
Sets the transport used to respond to the message.

Specified by:
setOutboundMessageTransport in interface MessageContext
Parameters:
transport - the transport used to respond to the message

setSecurityPolicyResolver

public void setSecurityPolicyResolver(SecurityPolicyResolver resolver)
Sets the resolver used to determine active SecurityPolicy.

Specified by:
setSecurityPolicyResolver in interface MessageContext
Parameters:
resolver - resolver used to determine active SecurityPolicy

isIssuerAuthenticated

public boolean isIssuerAuthenticated()
Gets whether the issuer of the inbound message represented by this context has been authenticated. What it means for the message issuer to be authenticate will vary by use and employed authentication mechanisms.

Specified by:
isIssuerAuthenticated in interface MessageContext
Returns:
whether the issuer of the inbound message represented by this context has been authenticated


Copyright © 2006-2009 Internet2. All Rights Reserved.