|
||||||||||
| 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, SAMLArtifactMap.SAMLArtifactMapEntryFactory |
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_STORAGE_PARTITION
The default StorageService partition name to use. |
| Constructor Summary | |
|---|---|
BasicSAMLArtifactMap(org.opensaml.xml.parse.ParserPool parser,
org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
Deprecated. replacement BasicSAMLArtifactMap(StorageService, long) |
|
BasicSAMLArtifactMap(SAMLArtifactMap.SAMLArtifactMapEntryFactory factory,
org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
Constructor. |
|
BasicSAMLArtifactMap(SAMLArtifactMap.SAMLArtifactMapEntryFactory factory,
org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
java.lang.String storageParition,
long lifetime)
Constructor. |
|
BasicSAMLArtifactMap(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 |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_STORAGE_PARTITION
| Constructor Detail |
|---|
public BasicSAMLArtifactMap(org.opensaml.xml.parse.ParserPool parser,
org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
BasicSAMLArtifactMap(StorageService, long)
parser - parser pool used to parse serialized messages.
(Note: ParserPool arg is deprecated and no longer used).storage - artifact mapping storagelifetime - lifetime of an artifact in milliseconds
public BasicSAMLArtifactMap(org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
storage - artifact mapping storagelifetime - lifetime of an artifact in milliseconds
public 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 milliseconds
public BasicSAMLArtifactMap(SAMLArtifactMap.SAMLArtifactMapEntryFactory factory,
org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
factory - the SAML artifact map entry factory to usestorage - artifact mapping storagelifetime - lifetime of an artifact in milliseconds
public BasicSAMLArtifactMap(SAMLArtifactMap.SAMLArtifactMapEntryFactory factory,
org.opensaml.util.storage.StorageService<java.lang.String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
java.lang.String storageParition,
long lifetime)
factory - the SAML artifact map entry factory to usestorage - artifact mapping storagestorageParition - name of storage service partition to uselifetime - lifetime of an artifact in milliseconds| Method Detail |
|---|
public boolean contains(java.lang.String artifact)
contains in interface SAMLArtifactMapartifact - the artifact to check
public SAMLArtifactMap.SAMLArtifactMapEntry get(java.lang.String artifact)
get in interface SAMLArtifactMapartifact - 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 SAMLArtifactMapartifact - 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 SAMLArtifactMapartifact - artifact to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||