| org.rapla.facade.UserModule
UserModule | public interface UserModule (Code) | | Encapsulates the methods responsible for authentification.
version: CVS $Revision: 1.22 $ $Date: 2006/01/08 14:43:14 $ |
canChangePassword | boolean canChangePassword()(Code) | | |
canSwitchBack | boolean canSwitchBack()(Code) | | returns true if the admin has switched to anoter user!
|
getUser | User getUser() throws RaplaException(Code) | | throws an Exception if no user has loged in.
the user that has loged in. |
isSessionActive | boolean isSessionActive()(Code) | | returns if a session is active. True between a successful login and logout.
|
login | boolean login(String username, char[] password) throws RaplaException(Code) | | The login method establishes the connection and loads data.
It should clear the password char array.
false on an invalid login. throws: RaplaException - if the connection can't be established. |
switchTo | void switchTo(User user)(Code) | | the admin can switch to another user!
|
|
|