|
BEA Systems, Inc. | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
SAMLUsedAssertionCache defines an interface for storing
and checking information about consumed SAML assertions so that a
one-use policy for assertions can be enforced.
Classes implementing this interface must have a public no-arg constructor.
| Method Summary | |
boolean |
cacheAssertion(String assertionId,
String issuer,
long expire)
Cache the Assertion ID and Issuer of a consumed assertion. |
void |
flushCache()
Flush all cache entries. |
boolean |
initCache(Properties props)
Initialize the cache. |
void |
releaseCache()
Release the cache. |
| Method Detail |
public boolean cacheAssertion(String assertionId,
String issuer,
long expire)
assertionId - The Assertion ID of the to-be-cached assertion.issuer - The Issuer of the to-be-cached assertion.expire - The NotOnOrAfter time of the to-be-cached assertion. After this
time, the cache entry may be discarded, as the assertion is no longer
valid and hence cannot be re-used.
public void flushCache()
public boolean initCache(Properties props)
props - A Properties object containing properties the cache
needs to initialize. Can be empty or null.
public void releaseCache()
|
Documentation is available at http://e-docs.bea.com/wls/docs91 Copyright 2005 BEA Systems Inc. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||