org.opensaml.common.binding.artifact
Class BasicSAMLArtifactMapEntry

java.lang.Object
  extended by org.opensaml.util.storage.AbstractExpiringObject
      extended by org.opensaml.common.binding.artifact.BasicSAMLArtifactMapEntry
All Implemented Interfaces:
java.io.Serializable, SAMLArtifactMap.SAMLArtifactMapEntry, org.opensaml.util.storage.ExpiringObject

public class BasicSAMLArtifactMapEntry
extends org.opensaml.util.storage.AbstractExpiringObject
implements SAMLArtifactMap.SAMLArtifactMapEntry

Basic implementation of SAMLArtifactMap.SAMLArtifactMapEntry.

See Also:
Serialized Form

Constructor Summary
BasicSAMLArtifactMapEntry(java.lang.String artifact, java.lang.String issuer, java.lang.String relyingParty, java.lang.String saml, long lifetime)
          Constructor.
 
Method Summary
 java.lang.String getArtifact()
          Gets the artifact that maps to the SAML message.
 java.lang.String getIssuerId()
          Gets the ID of the issuer of the artifact.
 java.lang.String getRelyingPartyId()
          Gets the ID of the relying party the artifact was sent to.
 SAMLObject getSamlMessage()
          Gets SAML message the artifact maps to.
 
Methods inherited from class org.opensaml.util.storage.AbstractExpiringObject
getExpirationTime, isExpired, onExpire
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.util.storage.ExpiringObject
getExpirationTime, isExpired, onExpire
 

Constructor Detail

BasicSAMLArtifactMapEntry

public BasicSAMLArtifactMapEntry(java.lang.String artifact,
                                 java.lang.String issuer,
                                 java.lang.String relyingParty,
                                 java.lang.String saml,
                                 long lifetime)
Constructor.

Parameters:
artifact - artifact associated with the message
issuer - issuer of the artifact
relyingParty - receiver of the artifact
saml - serialized SAML message mapped to the artifact
lifetime - lifetime of the artifact
Method Detail

getArtifact

public java.lang.String getArtifact()
Gets the artifact that maps to the SAML message.

Specified by:
getArtifact in interface SAMLArtifactMap.SAMLArtifactMapEntry
Returns:
artifact that maps to the SAML message

getIssuerId

public java.lang.String getIssuerId()
Gets the ID of the issuer of the artifact.

Specified by:
getIssuerId in interface SAMLArtifactMap.SAMLArtifactMapEntry
Returns:
ID of the issuer of the artifact

getRelyingPartyId

public java.lang.String getRelyingPartyId()
Gets the ID of the relying party the artifact was sent to.

Specified by:
getRelyingPartyId in interface SAMLArtifactMap.SAMLArtifactMapEntry
Returns:
ID of the relying party the artifact was sent to

getSamlMessage

public SAMLObject getSamlMessage()
Gets SAML message the artifact maps to.

Specified by:
getSamlMessage in interface SAMLArtifactMap.SAMLArtifactMapEntry
Returns:
SAML message the artifact maps to


Copyright © 2006-2012 Internet2. All Rights Reserved.