Package | Description |
---|---|
com.sas.hls.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 |
RoleDefinitionService.createRole(RoleContext roleContext,
String name,
String description,
Set<Privilege> privileges)
Create a role and assign role to the specified context.
|
Role |
RoleDefinitionService.getRole(RoleContext roleContext,
String name)
Get a role by specifying its context and name
|
Role |
RoleDefinitionService.getRoleByIdentifier(String identifier)
Get a role given its identifier.
|
Role |
RoleDefinitionService.updateRole(Role role)
Update the definition of the specified role.
|
Modifier and Type | Method and Description |
---|---|
Set<Role> |
RoleDefinitionService.getRoles(RoleContext roleContext)
Get all the roles defined in a given context
|
Set<Role> |
RoleDefinitionService.getRolesByDescriptors(Set<RoleDescriptor> roleDescriptors)
Get a set of roles given their role descriptors
|
Set<Role> |
RoleDefinitionService.getRolesByIdentifiers(Set<String> identifiers)
Get a set of roles given their identifiers
|
Modifier and Type | Method and Description |
---|---|
Role |
RoleDefinitionService.updateRole(Role role)
Update the definition of the specified role.
|
Modifier and Type | Method and Description |
---|---|
static List<RoleDescriptor> |
Role.toDescriptors(List<Role> roles)
Get roleDescriptors for these roles
|
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA