| Package | Description | 
|---|---|
| org.restlet.security | 
 Classes related to security. 
 | 
| 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.List<Group> | 
Group.getMemberGroups()
Returns the modifiable list of member groups. 
 | 
java.util.List<Group> | 
MemoryRealm.getRootGroups()
Returns the modifiable list of root groups. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Set<Role> | 
MemoryRealm.findRoles(Application application,
         Group userGroup)
Finds the roles mapped to a given user group. 
 | 
java.util.Set<Role> | 
MemoryRealm.findRoles(Group userGroup)
Finds the roles mapped to given user group. 
 | 
void | 
MemoryRealm.map(Group group,
   Role role)
Maps a group defined in a component to a role defined in the application. 
 | 
void | 
MemoryRealm.unmap(Group group,
     Application application,
     java.lang.String roleName)
Unmaps a group defined in a component from a role defined in the
 application. 
 | 
void | 
MemoryRealm.unmap(Group group,
     Role role)
Unmaps a group defined in a component from a role defined in the
 application. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Set<Role> | 
MemoryRealm.findRoles(Application application,
         java.util.Set<Group> userGroups)
Finds the roles mapped to given user groups. 
 | 
java.util.Set<Role> | 
MemoryRealm.findRoles(java.util.Set<Group> userGroups)
Finds the roles mapped to given user groups. 
 | 
void | 
Group.setMemberGroups(java.util.List<Group> memberGroups)
Sets the modifiable list of member groups. 
 | 
void | 
MemoryRealm.setRootGroups(java.util.List<Group> rootGroups)
Sets the modifiable list of root groups. 
 | 
Copyright © 2005-2024 Restlet.