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:
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(String samlArtifact, String issuerId, String relyingPartyId, SAMLObject samlMessage, long lifetime)
          Constructor.
BasicSAMLArtifactMapEntry(String samlArtifact, String issuerId, String relyingPartyId, String serializedSAML, long lifetime)
          Deprecated. replacement BasicSAMLArtifactMapEntry(String, String, String, SAMLObject, long)
 
Method Summary
 String getArtifact()
          Gets the artifact that maps to the SAML message.
 String getIssuerId()
          Gets the ID of the issuer of the artifact.
 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(String samlArtifact,
                                 String issuerId,
                                 String relyingPartyId,
                                 String serializedSAML,
                                 long lifetime)
Deprecated. replacement BasicSAMLArtifactMapEntry(String, String, String, SAMLObject, long)

Constructor.

Parameters:
samlArtifact - artifact associated with the message
issuerId - issuer of the artifact
relyingPartyId - receiver of the artifact
serializedSAML - serialized SAML message mapped to the artifact
lifetime - lifetime of the artifact in milliseconds

BasicSAMLArtifactMapEntry

public BasicSAMLArtifactMapEntry(String samlArtifact,
                                 String issuerId,
                                 String relyingPartyId,
                                 SAMLObject samlMessage,
                                 long lifetime)
Constructor.

Parameters:
samlArtifact - artifact associated with the message
issuerId - issuer of the artifact
relyingPartyId - receiver of the artifact
samlMessage - SAML message mapped to the artifact
lifetime - lifetime of the artifact in milliseconds
Method Detail

getArtifact

public 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 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 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-2013 Internet2. All Rights Reserved.