org.openid4java.consumer
public class InMemoryConsumerAssociationStore extends java.lang.Object implements ConsumerAssociationStore
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
_log |
private java.util.Map |
_opMap |
private static boolean |
DEBUG |
Constructor and Description |
---|
InMemoryConsumerAssociationStore() |
Modifier and Type | Method and Description |
---|---|
Association |
load(java.lang.String opUrl) |
Association |
load(java.lang.String opUrl,
java.lang.String handle) |
void |
remove(java.lang.String opUrl,
java.lang.String handle) |
private void |
removeExpired() |
void |
save(java.lang.String opUrl,
Association association) |
protected int |
size() |
private static org.apache.commons.logging.Log _log
private static final boolean DEBUG
private java.util.Map _opMap
public void save(java.lang.String opUrl, Association association)
save
in interface ConsumerAssociationStore
public Association load(java.lang.String opUrl, java.lang.String handle)
load
in interface ConsumerAssociationStore
public Association load(java.lang.String opUrl)
load
in interface ConsumerAssociationStore
public void remove(java.lang.String opUrl, java.lang.String handle)
remove
in interface ConsumerAssociationStore
private void removeExpired()
protected int size()
Copyright 2006-2008 Sxip Identity Corporation