|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserModule
Encapsulates the methods responsible for authentification.
Method Summary | |
---|---|
boolean |
canChangePassword()
|
boolean |
canSwitchBack()
returns true if the admin has switched to anoter user! |
void |
changePassword(User user,
char[] oldPassword,
char[] newPassword)
|
User |
getUser()
throws an Exception if no user has loged in. |
boolean |
isSessionActive()
returns if a session is active. |
boolean |
login(String username,
char[] password)
The login method establishes the connection and loads data. |
void |
logout()
logout of the current user |
void |
switchTo(User user)
the admin can switch to another user! |
Method Detail |
---|
boolean login(String username, char[] password) throws RaplaException
RaplaException
- if the connection can't be established.void logout() throws RaplaException
RaplaException
boolean isSessionActive()
User getUser() throws RaplaException
RaplaException
void switchTo(User user)
boolean canSwitchBack()
void changePassword(User user, char[] oldPassword, char[] newPassword) throws RaplaException
RaplaException
boolean canChangePassword()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |