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.
|
Role |
RoleService.createRole(String contextId,
String name,
String description,
Set<String> scopedPrivilegeIds,
Set<Principal> members)
Creates a defined role at the specified context.
|
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.
|
Role |
RoleService.updateRole(Role role)
Updates the name, description, privileges or members of the specified role.
|
Modifier and Type | Method and Description |
---|---|
Set<Role> |
RoleService.getRolesByContext(String contextId)
Gets all of the roles that exist at the specified context.
|
Set<Role> |
RoleService.getRolesByIds(Set<String> roleIds)
Gets set of roles given their identifiers.
|
Modifier and Type | Method and Description |
---|---|
Role |
RoleService.updateRole(Role role)
Updates the name, description, privileges or members of the specified role.
|
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>