Role |
RoleService.addInheritedRole(java.lang.String contextId,
java.lang.String inheritedRoleId,
java.util.Set<Principal> members) |
Adds an inherited role at the specified context.
|
void |
RoleService.deleteRole(java.lang.String roleId) |
Deletes the role as well as all inherited roles created from the role.
|
java.util.Set<RoleDescriptor> |
RoleService.getInheritedRoleDescriptorsByRole(java.lang.String roleId) |
Gets all inherited roles across contexts that are associated with the specified role.
|
Role |
RoleService.getRoleById(java.lang.String roleId) |
Get a role given its identifier.
|
Role |
RoleService.getRoleByName(java.lang.String contextId,
java.lang.String name) |
Gets a defined role by specifying its context and name.
|
RoleDescriptor |
RoleService.getRoleDescriptorById(java.lang.String roleId) |
Gets a role descriptor given its identifier.
|
RoleDescriptor |
RoleService.getRoleDescriptorByName(java.lang.String contextId,
java.lang.String name) |
Gets a defined role descriptor by specifying its context and name.
|
Role |
RoleService.updateRole(Role role) |
Updates the name, description, privileges or members of the specified role.
|