com.openexchange.admin.storage.interfaces
Class OXAuthStorageInterface

java.lang.Object
  extended by com.openexchange.admin.storage.interfaces.OXAuthStorageInterface
Direct Known Subclasses:
OXAuthFileStorage, OXAuthMySQLStorage

public abstract class OXAuthStorageInterface
extends Object

Author:
cutmasta

Constructor Summary
OXAuthStorageInterface()
           
 
Method Summary
abstract  boolean authenticate(Credentials authdata)
           
abstract  boolean authenticate(Credentials authdata, Context ctx)
           
abstract  boolean authenticateUser(Credentials authdata, Context ctx)
           
static OXAuthStorageInterface getInstanceFile()
           
static OXAuthStorageInterface getInstanceSQL()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OXAuthStorageInterface

public OXAuthStorageInterface()
Method Detail

authenticate

public abstract boolean authenticate(Credentials authdata)

authenticate

public abstract boolean authenticate(Credentials authdata,
                                     Context ctx)
                              throws StorageException
Throws:
StorageException

authenticateUser

public abstract boolean authenticateUser(Credentials authdata,
                                         Context ctx)
                                  throws StorageException
Throws:
StorageException

getInstanceSQL

public static OXAuthStorageInterface getInstanceSQL()

getInstanceFile

public static OXAuthStorageInterface getInstanceFile()