org.openid4java.server
Class InMemoryServerAssociationStore

java.lang.Object
  extended by org.openid4java.server.InMemoryServerAssociationStore
All Implemented Interfaces:
ServerAssociationStore

public class InMemoryServerAssociationStore
extends java.lang.Object
implements ServerAssociationStore

Author:
Marius Scurtescu, Johnny Bufu

Constructor Summary
InMemoryServerAssociationStore()
           
 
Method Summary
 Association generate(java.lang.String type, int expiryIn)
           
 Association load(java.lang.String handle)
           
 void remove(java.lang.String handle)
           
protected  int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryServerAssociationStore

public InMemoryServerAssociationStore()
Method Detail

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

size

protected int size()


Copyright © 2012 Sxip. All Rights Reserved.