com.openexchange.admin.storage.mysqlStorage
Class OXAuthMySQLStorage

java.lang.Object
  extended by com.openexchange.admin.storage.interfaces.OXAuthStorageInterface
      extended by com.openexchange.admin.storage.mysqlStorage.OXAuthMySQLStorage

public class OXAuthMySQLStorage
extends OXAuthStorageInterface

Default mysql implementation for admin auth.

Author:
cutmasta

Constructor Summary
OXAuthMySQLStorage()
           
 
Method Summary
 boolean authenticate(Credentials authdata)
           
 boolean authenticate(Credentials authdata, Context ctx)
          Authenticates the admin user of the system within context.
 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

OXAuthMySQLStorage

public OXAuthMySQLStorage()
Method Detail

authenticate

public boolean authenticate(Credentials authdata)
Specified by:
authenticate in class OXAuthStorageInterface

authenticate

public boolean authenticate(Credentials authdata,
                            Context ctx)
                     throws StorageException
Authenticates the admin user of the system within context.

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