Package org.apache.catalina.filters
Interface CsrfPreventionFilter.NonceCache<T>
-
- Type Parameters:
T- The type of nonce stored in the cache
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
CsrfPreventionFilter.LruCache
- Enclosing class:
- CsrfPreventionFilter
protected static interface CsrfPreventionFilter.NonceCache<T> extends java.io.SerializableInterface for a cache of nonces used for CSRF protection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(T nonce)Add a nonce to the cache.booleancontains(T nonce)Check if the cache contains the given nonce.
-