org.sourceid.saml20.service
Class ArtifactPersistenceService.Message

java.lang.Object
  extended by org.sourceid.saml20.service.ArtifactPersistenceService.Message
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
ArtifactPersistenceService

public static class ArtifactPersistenceService.Message
extends java.lang.Object
implements java.io.Serializable

A wrapper around the actual protocol message along with some additional data that is needed when processing the artifact resolution request.

See Also:
Serialized Form

Constructor Summary
ArtifactPersistenceService.Message(java.lang.Object msg)
           
ArtifactPersistenceService.Message(org.apache.xmlbeans.XmlObject xml, java.lang.String entityId, org.sourceid.saml20.metadata.Role partnerRole)
          Creates a new message wrapper with the given parameters.
 
Method Summary
 java.lang.String getEntityId()
          Gets the entityId of the partner connection to whom the message was issued.
 java.util.Set<java.lang.String> getMaskedAttributeNames()
           
 int getMessageHandleLength()
           
 java.lang.Object getMsg()
           
 org.sourceid.saml20.metadata.Role getPartnerRole()
          Get the role of the partner connection to whom the message was issued.
 org.apache.xmlbeans.XmlObject getXml()
          Gets the xml protocol message.
 void setMaskedAttributeNames(java.util.Set<java.lang.String> maskedAttributeNames)
           
 void setMessageHandleLength(int messageHandleLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactPersistenceService.Message

public ArtifactPersistenceService.Message(java.lang.Object msg)

ArtifactPersistenceService.Message

public ArtifactPersistenceService.Message(org.apache.xmlbeans.XmlObject xml,
                                          java.lang.String entityId,
                                          org.sourceid.saml20.metadata.Role partnerRole)
Creates a new message wrapper with the given parameters.

Parameters:
xml - the xml protocol message.
entityId - the entityId of the partner connection to whom the message was issued.
partnerRole - the role of the partner connection to whom the message was issued.
Method Detail

getXml

public org.apache.xmlbeans.XmlObject getXml()
Gets the xml protocol message.

Returns:
the xml.

getEntityId

public java.lang.String getEntityId()
Gets the entityId of the partner connection to whom the message was issued.

Returns:
the entityId.

getPartnerRole

public org.sourceid.saml20.metadata.Role getPartnerRole()
Get the role of the partner connection to whom the message was issued.

Returns:
the role.

getMaskedAttributeNames

public java.util.Set<java.lang.String> getMaskedAttributeNames()

setMaskedAttributeNames

public void setMaskedAttributeNames(java.util.Set<java.lang.String> maskedAttributeNames)

getMessageHandleLength

public int getMessageHandleLength()

setMessageHandleLength

public void setMessageHandleLength(int messageHandleLength)

getMsg

public java.lang.Object getMsg()


Copyright 2007 Ping Identity Corp. All rights reserved.