SAMLAssertionStoreV2public interface SAMLAssertionStore
SAMLAssertionStore defines an interface for storing
and retrieving SAML assertions for use with the Artifact profile.
Classes implementing this interface must have a public no-arg constructor and must be in the system classpath.
| Modifier and Type | Method | Description |
|---|---|---|
void |
flushStore() |
Flush all assertions.
|
boolean |
initStore(java.util.Properties props) |
Initialize the store.
|
void |
releaseStore() |
Release the store.
|
org.w3c.dom.Element |
retrieveAssertion(java.lang.String artifact) |
Retrieve an assertion given an artifact.
|
boolean |
storeAssertion(java.lang.String artifact,
long expire,
org.w3c.dom.Element assertion) |
Stores the given assertion for later retrieval using the specified artifact
as a key.
|
boolean initStore(java.util.Properties props)
props - A Properties object containing properties the store
needs to initialize. Can be empty or null.void releaseStore()
void flushStore()
boolean storeAssertion(java.lang.String artifact,
long expire,
org.w3c.dom.Element assertion)
artifact - The SAML artifact to use as a key when
storing/retrieving the assertion.expire - The NotOnOrAfter time of the assertion. The assertion may be discarded
if not retrieved prior to this time.assertion - The assertion to store, as a DOM Element.org.w3c.dom.Element retrieveAssertion(java.lang.String artifact)
artifact - The SAML artifact corresponding to the desired assertion.Element.