|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserManager
Provides methods that the Join application users management service must implements. These methods define how a user must be registered, logged on Join application and so on ...
| Method Summary | |
|---|---|
User |
getUser(java.lang.String login)
Retrieves a specific User using its login identifier |
java.util.List |
getUsers()
The getUsers method must be used when you want to list all users. |
java.util.List |
getUsers(java.lang.String lastname)
The getUsers method must be used when you want to list users using lastname criterion. |
UserView |
login(java.lang.String userId,
java.lang.String userCredential)
The login method is called when a user wishes to login to the Join application. |
void |
saveUser(User user)
Save or update a given user into datastore. |
void |
setPasswordEncoder(PasswordEncoder encoder)
The setPasswordEncoder() method must be called during the implementation initialization phase. |
void |
setPermissionManager(PermissionManager manager)
The setPermissionManager() method must be called during the implementation initilization phase. |
| Method Detail |
|---|
void setPasswordEncoder(PasswordEncoder encoder)
encoder - Implementation of PaswordEncoder to check and encode users passwordvoid setPermissionManager(PermissionManager manager)
manager - Implementation of PermissionManager to retrieve security rights
UserView login(java.lang.String userId,
java.lang.String userCredential)
throws InvalidLoginException
should use the PasswordEncoder validatePassword() method for
user's credential validation.
userId - The user identifier.userCredential - The user credential.
InvalidLoginException - if the credentials are invalid.
void saveUser(User user)
throws DuplicateEntityException
user - User object to save within datastore
DuplicateEntityException - if a user with this login already exists.User getUser(java.lang.String login)
login - The user to retrieve unique login
java.util.List getUsers()
org.figure8.join.businessobjects.security.User.java.util.List getUsers(java.lang.String lastname)
lastname - The lastname to use as search criteria
org.figure8.join.businessobjects.security.User.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||