Package | Description |
---|---|
com.sas.lsaf.security.privilege |
Service and classes for identifying and using privileges in the system.
|
Modifier and Type | Method and Description |
---|---|
Set<GlobalPrivilege> |
GlobalPrivilegeService.getGrantedPrivileges(String userId)
Gets the set of global privileges that are granted to a user.
|
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.revokeAllPrivileges(String userId)
Revokes all global privileges from the specified user.
|
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.
|
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>