#include <saml/binding/ArtifactMap.h>
Public Member Functions | |
ArtifactMap (xmltooling::StorageService *storage=NULL, const char *context=NULL, unsigned int artifactTTL=180) | |
Creates a map on top of a particular storage service context, or in-memory. | |
ArtifactMap (const xercesc::DOMElement *e, xmltooling::StorageService *storage=NULL) | |
Creates a map on top of a particular storage service context, or in-memory. | |
virtual void | storeContent (xmltooling::XMLObject *content, const SAMLArtifact *artifact, const char *relyingParty=NULL) |
Associates XML content with an artifact and optionally a specific relying party. | |
virtual xmltooling::XMLObject * | retrieveContent (const SAMLArtifact *artifact, const char *relyingParty=NULL) |
Retrieves the XML content represented by the artifact. | |
virtual std::string | getRelyingParty (const SAMLArtifact *artifact) |
Retrieves the relying party to whom the artifact was issued. |
|
Creates a map on top of a particular storage service context, or in-memory.
|
|
Creates a map on top of a particular storage service context, or in-memory.
|
|
Retrieves the relying party to whom the artifact was issued.
|
|
Retrieves the XML content represented by the artifact. The identity of the relying party can be supplied, if known. If the wrong party tries to resolve an artifact, an exception will be thrown and the mapping will be removed. The caller is responsible for freeing the XML content returned.
|
|
Associates XML content with an artifact and optionally a specific relying party. Specifying no relying party means that the first attempt to resolve the artifact will succeed. The XML content cannot have a parent object, and any existing references to the content will be invalidated.
|