public class EhcacheNonceVerifier extends AbstractNonceVerifier
| Modifier and Type | Field and Description |
|---|---|
private net.sf.ehcache.Cache |
_cache |
private static org.apache.commons.logging.Log |
_log |
private static boolean |
DEBUG |
_dateFormat, _maxAgeSecondsINVALID_TIMESTAMP, OK, SEEN, TOO_OLD| Constructor and Description |
|---|
EhcacheNonceVerifier(int maxAge) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
seen(java.util.Date now,
java.lang.String opUrl,
java.lang.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, setMaxAgeprivate static org.apache.commons.logging.Log _log
private static final boolean DEBUG
private net.sf.ehcache.Cache _cache
public void setCache(net.sf.ehcache.Cache cache)
protected int seen(java.util.Date now,
java.lang.String opUrl,
java.lang.String nonce)
AbstractNonceVerifierseen in class AbstractNonceVerifiernow - The timestamp used to check the max age boudary.Copyright 2006-2008 Sxip Identity Corporation