Package | Description |
---|---|
org.restlet.data | |
org.restlet.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 |
---|---|
protected User |
SecretVerifier.createUser(String identifier,
Request request,
Response response)
Called back to create a new user when valid credentials are provided.
|
User |
MemoryRealm.findUser(String userIdentifier)
Finds a user in the organization based on its identifier.
|
protected User |
CertificateAuthenticator.getUser(Principal principal)
Creates a new User based on the subject's X500Principal.
|
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(Application application,
User user)
Finds the roles mapped to a given user, for a specific application.
|
Set<Role> |
MemoryRealm.findRoles(User user)
Finds the roles mapped to a given user.
|
void |
MemoryRealm.map(User user,
Application application,
String roleName)
Maps a user defined in a component to a role defined in the application.
|
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,
Application application,
String roleName)
Unmaps a user defined in a component from 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–2015. All rights reserved.