public interface UserAccountService
| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_PASSWORD_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
User |
getCurrentUser()
Returns the currently logged in user
|
Iterable<Group> |
getCurrentUserGroups()
Returns the groups to which the currently logged in user belongs
|
void |
updateCurrentUser(User user)
Update the currently logged in user
|
boolean |
validateCurrentUserPassword(String password)
Validates the password of the current logged in user
|
static final int MIN_PASSWORD_LENGTH
User getCurrentUser()
Iterable<Group> getCurrentUserGroups()
void updateCurrentUser(User user)
user - updated userboolean validateCurrentUserPassword(String password)
password - Copyright © 2017. All rights reserved.