Package | Description |
---|---|
com.sas.lsaf.security.role |
Service and class definitions for manipulating and creating roles, their availability in contexts, and their
membership lists.
|
Modifier and Type | Method and Description |
---|---|
Role |
RoleService.addInheritedRole(String contextId,
String inheritedRoleId,
Set<Principal> members)
Adds an inherited role at the specified context.
|
void |
RoleService.deleteRole(String roleId)
Deletes the role as well as all inherited roles created from the role.
|
Set<RoleDescriptor> |
RoleService.getInheritedRoleDescriptorsByRole(String roleId)
Gets all inherited roles across contexts that are associated with the specified role.
|
Role |
RoleService.getRoleById(String roleId)
Get a role given its identifier.
|
Role |
RoleService.getRoleByName(String contextId,
String name)
Gets a defined role by specifying its context and name.
|
RoleDescriptor |
RoleService.getRoleDescriptorById(String roleId)
Gets a role descriptor given its identifier.
|
RoleDescriptor |
RoleService.getRoleDescriptorByName(String contextId,
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.
|
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA