public class EhcacheNonceVerifier extends AbstractNonceVerifier
_dateFormat, _maxAgeSeconds
INVALID_TIMESTAMP, OK, SEEN, TOO_OLD
Constructor and Description |
---|
EhcacheNonceVerifier(int maxAge) |
Modifier and Type | Method and Description |
---|---|
protected int |
seen(Date now,
String opUrl,
String nonce)
Subclasses should implement this method and check if the nonce was seen before.
|
void |
setCache(net.sf.ehcache.Cache cache) |
getMaxAge, isTooOld, seen, setMaxAge
public void setCache(net.sf.ehcache.Cache cache)
protected int seen(Date now, String opUrl, String nonce)
AbstractNonceVerifier
seen
in class AbstractNonceVerifier
now
- The timestamp used to check the max age boudary.Copyright © 2016 Sxip. All rights reserved.