Uses of Class
org.restlet.security.User
-
Packages that use User Package Description org.restlet.data Information exchanged by components.org.restlet.security Classes related to security. -
-
Uses of User in org.restlet.data
Methods in org.restlet.data that return User Modifier and Type Method Description User
ClientInfo. getUser()
Returns the authenticated user.Methods in org.restlet.data with parameters of type User Modifier and Type Method Description void
ClientInfo. setUser(User user)
Sets the authenticated user. -
Uses of User in org.restlet.security
Methods in org.restlet.security that return User Modifier and Type Method 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.Methods in org.restlet.security that return types with arguments of type User Modifier and Type Method Description java.util.List<User>
Group. getMemberUsers()
java.util.List<User>
MemoryRealm. getUsers()
Returns the modifiable list of users.Methods in org.restlet.security with parameters of type User Modifier and Type Method 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.Method parameters in org.restlet.security with type arguments of type User Modifier and Type Method 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.
-