Interface CsrfPreventionFilter.NonceCache<T>
- Type Parameters:
T- The type of nonce stored in the cache
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CsrfPreventionFilter.LruCache
- Enclosing class:
CsrfPreventionFilter
Interface for a cache of nonces used for CSRF protection.
-
Method Summary
-
Method Details
-
add
-
contains
Check if the cache contains the given nonce.- Parameters:
nonce- The nonce to check- Returns:
trueif the nonce is in the cache
-