org.openid4java.server
Class InMemoryServerAssociationStore
java.lang.Object
org.openid4java.server.InMemoryServerAssociationStore
- All Implemented Interfaces:
- ServerAssociationStore
public class InMemoryServerAssociationStore
- extends java.lang.Object
- implements ServerAssociationStore
- Author:
- Marius Scurtescu, Johnny Bufu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
private static org.apache.commons.logging.Log _log
DEBUG
private static final boolean DEBUG
_timestamp
private java.lang.String _timestamp
_counter
private int _counter
_handleMap
private java.util.Map _handleMap
InMemoryServerAssociationStore
public InMemoryServerAssociationStore()
generate
public Association generate(java.lang.String type,
int expiryIn)
throws AssociationException
- Specified by:
generate
in interface ServerAssociationStore
- Throws:
AssociationException
load
public Association load(java.lang.String handle)
- Specified by:
load
in interface ServerAssociationStore
remove
public void remove(java.lang.String handle)
- Specified by:
remove
in interface ServerAssociationStore
removeExpired
private void removeExpired()
size
protected int size()
Copyright 2006-2008 Sxip Identity Corporation