org.openid4java.consumer
Class InMemoryNonceVerifier
java.lang.Object
org.openid4java.consumer.AbstractNonceVerifier
org.openid4java.consumer.InMemoryNonceVerifier
- All Implemented Interfaces:
- NonceVerifier
public class InMemoryNonceVerifier
- extends AbstractNonceVerifier
- Author:
- Marius Scurtescu, Johnny Bufu
|
Method Summary |
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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryNonceVerifier
public InMemoryNonceVerifier()
InMemoryNonceVerifier
public InMemoryNonceVerifier(int maxAge)
seen
protected int seen(Date now,
String opUrl,
String nonce)
- Description copied from class:
AbstractNonceVerifier
- Subclasses should implement this method and check if the nonce was seen before.
The nonce timestamp was verified at this point, it is valid and it is in the max age boudary.
- Specified by:
seen in class AbstractNonceVerifier
- Parameters:
now - The timestamp used to check the max age boudary.
size
protected int size()
Copyright © 2013 Sxip. All Rights Reserved.