| Package | Description |
|---|---|
| li.rudin.core.security | |
| li.rudin.core.security.service |
| Modifier and Type | Field and Description |
|---|---|
static User |
User.ANONYMOUS_USER
Anonymous user
|
| Modifier and Type | Method and Description |
|---|---|
User |
UserService.findById(long id)
Returns the user by the id
|
User |
CurrentUser.get() |
| Modifier and Type | Method and Description |
|---|---|
List<User> |
UserService.findAll()
Returns all users
|
List<User> |
UserService.findByName(String name)
Returns the users by the name
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserService.remove(User user)
Removes a user
|
void |
UserService.save(User user)
updates an existing user with changed roles or hash
|
void |
CurrentUser.set(User user)
Sets the current user, null to logout
|
Copyright © 2014. All Rights Reserved.