Package | Description |
---|---|
org.restlet.data |
Information exchanged by components.
|
org.restlet.security |
Classes related to security.
|
Modifier and Type | Method and Description |
---|---|
User |
ClientInfo.getUser()
Returns the authenticated user.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientInfo.setUser(User user)
Sets the authenticated user.
|
Modifier and Type | Method and Description |
---|---|
User |
MemoryRealm.findUser(String userIdentifier)
Finds a user in the organization based on its identifier.
|
Modifier and Type | Method and Description |
---|---|
List<User> |
Group.getMemberUsers() |
List<User> |
MemoryRealm.getUsers()
Returns the modifiable list of users.
|
Modifier and Type | Method and Description |
---|---|
Set<Group> |
MemoryRealm.findGroups(User user)
Finds the set of groups where a given user is a member.
|
Set<Group> |
MemoryRealm.findGroups(User user,
boolean inheritOnly)
Finds the set of groups where a given user is a member.
|
Set<Role> |
MemoryRealm.findRoles(User user)
Finds the roles mapped to a given user.
|
void |
MemoryRealm.map(User user,
Role role)
Maps a user defined in a component to a role defined in the application.
|
void |
MemoryRealm.unmap(User user,
Role role)
Unmaps a user defined in a component from a role defined in the
application.
|
Modifier and Type | Method and Description |
---|---|
void |
Group.setMemberUsers(List<User> memberUsers)
Sets the modifiable list of member user references.
|
void |
MemoryRealm.setUsers(List<User> users)
Sets the modifiable list of users.
|
Copyright © 2005–2016. All rights reserved.