|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.common.binding.artifact.BasicSAMLArtifactMap
public class BasicSAMLArtifactMap
Basic artifact map implementation that uses a StorageService
to store and retrieve artifacts.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.opensaml.common.binding.artifact.SAMLArtifactMap |
---|
SAMLArtifactMap.SAMLArtifactMapEntry |
Constructor Summary | |
---|---|
BasicSAMLArtifactMap(org.opensaml.xml.parse.ParserPool parser,
org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
Constructor. |
|
BasicSAMLArtifactMap(org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
java.lang.String storageParition,
long lifetime)
Constructor. |
Method Summary | |
---|---|
boolean |
contains(java.lang.String artifact)
Checks if a given artifact has a map entry. |
SAMLArtifactMap.SAMLArtifactMapEntry |
get(java.lang.String artifact)
Gets the artifact entry for the given artifact. |
void |
put(java.lang.String artifact,
java.lang.String relyingPartyId,
java.lang.String issuerId,
SAMLObject samlMessage)
Creates a mapping between a given artifact and the SAML message to which it maps. |
void |
remove(java.lang.String artifact)
Removes the artifact from this map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicSAMLArtifactMap(org.opensaml.xml.parse.ParserPool parser, org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage, long lifetime)
parser
- parser pool used to parse serialized messagesstorage
- artifact mapping storagelifetime
- lifetime of an artifact in millisecondspublic BasicSAMLArtifactMap(org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage, java.lang.String storageParition, long lifetime)
storage
- artifact mapping storagestorageParition
- name of storage service partition to uselifetime
- lifetime of an artifact in millisecondsMethod Detail |
---|
public boolean contains(java.lang.String artifact)
contains
in interface SAMLArtifactMap
artifact
- the artifact to check
public SAMLArtifactMap.SAMLArtifactMapEntry get(java.lang.String artifact)
get
in interface SAMLArtifactMap
artifact
- the artifact to retrieve the entry for
public void put(java.lang.String artifact, java.lang.String relyingPartyId, java.lang.String issuerId, SAMLObject samlMessage) throws org.opensaml.xml.io.MarshallingException
put
in interface SAMLArtifactMap
artifact
- the artifactrelyingPartyId
- ID of the party the artifact was sent toissuerId
- ID of the issuer of the artifactsamlMessage
- the SAML message
org.opensaml.xml.io.MarshallingException
- thrown if the given SAML message can not be marshalledpublic void remove(java.lang.String artifact)
remove
in interface SAMLArtifactMap
artifact
- artifact to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |