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 |
---|---|
protected User |
SecretVerifier.createUser(java.lang.String identifier,
Request request,
Response response)
Called back to create a new user when valid credentials are provided.
|
User |
MemoryRealm.findUser(java.lang.String userIdentifier)
Finds a user in the organization based on its identifier.
|
protected User |
CertificateAuthenticator.getUser(java.security.Principal principal)
Creates a new User based on the subject's X500Principal.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
Group.getMemberUsers() |
java.util.List<User> |
MemoryRealm.getUsers()
Returns the modifiable list of users.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Group> |
MemoryRealm.findGroups(User user)
Finds the set of groups where a given user is a member.
|
java.util.Set<Group> |
MemoryRealm.findGroups(User user,
boolean inheritOnly)
Finds the set of groups where a given user is a member.
|
java.util.Set<Role> |
MemoryRealm.findRoles(Application application,
User user)
Finds the roles mapped to a given user, for a specific application.
|
java.util.Set<Role> |
MemoryRealm.findRoles(User user)
Finds the roles mapped to a given user.
|
void |
MemoryRealm.map(User user,
Application application,
java.lang.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,
java.lang.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(java.util.List<User> memberUsers)
Sets the modifiable list of member user references.
|
void |
MemoryRealm.setUsers(java.util.List<User> users)
Sets the modifiable list of users.
|
Copyright © 2005-2024 Restlet.