|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserManagerInterface
This is user manager interface. All the user manager classes implement this interface. If we want to add a new user manager, we have to implement this class.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
boolean |
authenticate(String login,
String password)
Authenticate user |
void |
delete(String userName)
Delete the user from the system. |
boolean |
doesExist(String name)
User existance check. |
String |
getAdminName()
Get admin user name |
List |
getAllUserNames()
Get all user names in the system. |
User |
getUserByName(String name)
Get user by name. |
void |
reload()
Load the user data again |
void |
save(User user)
Save the user. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
void save(User user) throws Exception
Exception
void delete(String userName) throws Exception
name
- name of the user to be deleted.
Exception
User getUserByName(String name)
List getAllUserNames()
boolean doesExist(String name)
name
- user nameboolean authenticate(String login, String password)
void reload() throws Exception
Exception
String getAdminName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |