|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 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<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
Deprecated. replacement BasicSAMLArtifactMap(StorageService, long) |
|
BasicSAMLArtifactMap(SAMLArtifactMap.SAMLArtifactMapEntryFactory factory,
org.opensaml.util.storage.StorageService<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
Constructor. |
|
BasicSAMLArtifactMap(SAMLArtifactMap.SAMLArtifactMapEntryFactory factory,
org.opensaml.util.storage.StorageService<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
String storageParition,
long lifetime)
Constructor. |
|
BasicSAMLArtifactMap(org.opensaml.util.storage.StorageService<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
long lifetime)
Constructor. |
|
BasicSAMLArtifactMap(org.opensaml.util.storage.StorageService<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage,
String storageParition,
long lifetime)
Constructor. |
Method Summary | |
---|---|
boolean |
contains(String artifact)
Checks if a given artifact has a map entry. |
SAMLArtifactMap.SAMLArtifactMapEntry |
get(String artifact)
Gets the artifact entry for the given artifact. |
void |
put(String artifact,
String relyingPartyId,
String issuerId,
SAMLObject samlMessage)
Creates a mapping between a given artifact and the SAML message to which it maps. |
void |
remove(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 String DEFAULT_STORAGE_PARTITION
Constructor Detail |
---|
public BasicSAMLArtifactMap(org.opensaml.xml.parse.ParserPool parser, org.opensaml.util.storage.StorageService<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 millisecondspublic BasicSAMLArtifactMap(org.opensaml.util.storage.StorageService<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage, long lifetime)
storage
- artifact mapping storagelifetime
- lifetime of an artifact in millisecondspublic BasicSAMLArtifactMap(org.opensaml.util.storage.StorageService<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage, String storageParition, long lifetime)
storage
- artifact mapping storagestorageParition
- name of storage service partition to uselifetime
- lifetime of an artifact in millisecondspublic BasicSAMLArtifactMap(SAMLArtifactMap.SAMLArtifactMapEntryFactory factory, org.opensaml.util.storage.StorageService<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage, long lifetime)
factory
- the SAML artifact map entry factory to usestorage
- artifact mapping storagelifetime
- lifetime of an artifact in millisecondspublic BasicSAMLArtifactMap(SAMLArtifactMap.SAMLArtifactMapEntryFactory factory, org.opensaml.util.storage.StorageService<String,SAMLArtifactMap.SAMLArtifactMapEntry> storage, 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 millisecondsMethod Detail |
---|
public boolean contains(String artifact)
contains
in interface SAMLArtifactMap
artifact
- the artifact to check
public SAMLArtifactMap.SAMLArtifactMapEntry get(String artifact)
get
in interface SAMLArtifactMap
artifact
- the artifact to retrieve the entry for
public void put(String artifact, String relyingPartyId, 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(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 |