public class InMemoryNonceVerifier extends AbstractNonceVerifier
_dateFormat, _maxAgeSecondsINVALID_TIMESTAMP, OK, SEEN, TOO_OLD| Constructor and Description |
|---|
InMemoryNonceVerifier() |
InMemoryNonceVerifier(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.
|
protected int |
size() |
getMaxAge, isTooOld, seen, setMaxAgepublic InMemoryNonceVerifier()
public InMemoryNonceVerifier(int maxAge)
protected int seen(Date now, String opUrl, String nonce)
AbstractNonceVerifierseen in class AbstractNonceVerifiernow - The timestamp used to check the max age boudary.protected int size()
Copyright © 2013 Sxip. All Rights Reserved.