com.openexchange.admin.rmi.impl
Class OXLogin
java.lang.Object
com.openexchange.admin.rmi.impl.OXCommonImpl
com.openexchange.admin.rmi.impl.OXLogin
- All Implemented Interfaces:
- OXLoginInterface, Remote
public class OXLogin
- extends OXCommonImpl
- implements OXLoginInterface
- Author:
- d7, cutmasta
Constructor Summary |
OXLogin(BundleContext context)
|
OXLogin
public OXLogin(BundleContext context)
throws RemoteException,
StorageException
- Throws:
RemoteException
StorageException
login
public void login(Context ctx,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
NoSuchContextException,
InvalidDataException,
DatabaseUpdateException
- Description copied from interface:
OXLoginInterface
- Login method to check if given credentials are correct.
- Specified by:
login
in interface OXLoginInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
NoSuchContextException
InvalidDataException
DatabaseUpdateException
login
public void login(Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Description copied from interface:
OXLoginInterface
- Login method for the master admin account.
- Specified by:
login
in interface OXLoginInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
login2User
public User login2User(Context ctx,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
NoSuchContextException,
InvalidDataException,
DatabaseUpdateException
- Description copied from interface:
OXLoginInterface
- Login method for a context admin or a normal user.
- Specified by:
login2User
in interface OXLoginInterface
- Returns:
- An user object with all data of the user who just logged in.
- Throws:
RemoteException
StorageException
InvalidCredentialsException
NoSuchContextException
InvalidDataException
DatabaseUpdateException