| 
 | Oracle | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface SAMLUsedAssertionCache
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 and must be in the system classpath.
| 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 | 
|---|
boolean initCache(Properties props)
props - A Properties object containing properties the cache
               needs to initialize.  Can be empty or null.
void releaseCache()
void flushCache()
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.
| 
 | Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||