com.openexchange.admin.storage.fileStorage
Class OXAuthFileStorage

java.lang.Object
  extended by com.openexchange.admin.storage.interfaces.OXAuthStorageInterface
      extended by com.openexchange.admin.storage.fileStorage.OXAuthFileStorage

public class OXAuthFileStorage
extends OXAuthStorageInterface

Default file implementation for admin auth.

Author:
choeger

Constructor Summary
OXAuthFileStorage()
           
 
Method Summary
 boolean authenticate(Credentials authdata)
          Authenticates against a textfile
 boolean authenticate(Credentials authdata, Context ctx)
           
 boolean authenticateUser(Credentials authdata, Context ctx)
           
 
Methods inherited from class com.openexchange.admin.storage.interfaces.OXAuthStorageInterface
getInstanceFile, getInstanceSQL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OXAuthFileStorage

public OXAuthFileStorage()
Method Detail

authenticate

public boolean authenticate(Credentials authdata)
Authenticates against a textfile

Specified by:
authenticate in class OXAuthStorageInterface

authenticate

public boolean authenticate(Credentials authdata,
                            Context ctx)
                     throws StorageException
Specified by:
authenticate in class OXAuthStorageInterface
Throws:
StorageException

authenticateUser

public boolean authenticateUser(Credentials authdata,
                                Context ctx)
                         throws StorageException
Specified by:
authenticateUser in class OXAuthStorageInterface
Throws:
StorageException