Package | Description |
---|---|
com.sas.lsaf.security.privilege |
Service and classes for identifying and using privileges in the system.
|
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 |
---|---|
Set<UserDescriptor> |
GlobalPrivilegeService.getAllGrantees(Set<String> globalPrivilegeIds)
Gets the set of users who have been granted the specified set of global privileges.
|
Set<UserDescriptor> |
GlobalPrivilegeService.getGrantees(String globalPrivilegeId)
Gets the set of users who have been granted the specified global privilege.
|
void |
GlobalPrivilegeService.grantPrivilege(String userId,
String globalPrivilegeId)
Grants a global privilege to the specified user.
|
void |
GlobalPrivilegeService.grantPrivileges(String userId,
Set<String> globalPrivilegeIds)
Grants the global privileges to the specified user.
|
void |
GlobalPrivilegeService.grantPrivilegesToUsers(Set<String> userIds,
Set<String> globalPrivilegeIds)
Grants the global privileges to the specified set of users.
|
void |
GlobalPrivilegeService.revokePrivilege(String userId,
String globalPrivilegeId)
Revokes a global privilege from the specified user.
|
void |
GlobalPrivilegeService.revokePrivileges(String userId,
Set<String> globalPrivilegeIds)
Revokes a set of global privileges from the set of users.
|
void |
GlobalPrivilegeService.revokePrivilegesFromUsers(Set<String> userIds,
Set<String> globalPrivilegeIds)
Revokes a set of global privileges from a set of users.
|
void |
GlobalPrivilegeService.setPrivileges(String userId,
Set<String> globalPrivilegeIds)
Sets the global privileges that are granted to the specified user.
|
Modifier and Type | Method and Description |
---|---|
Role |
RoleService.createRole(String contextId,
String name,
String description,
Set<String> scopedPrivilegeIds,
Set<Principal> members)
Creates a defined role at the specified context.
|
Set<RoleDescriptor> |
RoleService.getRoleDescriptorsByContextAndPrivilege(String contextId,
String scopedPrivilegeId)
Gets all of the roles at a given context that include the specified privilege.
|
Role |
RoleService.updateRole(Role role)
Updates the name, description, privileges or members of the specified role.
|
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>