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 |
---|---|
AssignedRole |
RoleDefinitionService.assignRoleToContext(RoleContext context,
RoleDescriptor role)
Assign an existing role to a context that is a child of the context that the role was defined at so that the
inherited role definition may be used at another context.
|
AssignedRole |
RoleAssignment.getAssignedRole()
Get the assignedRole who's membership this object manages.
|
AssignedRole |
RoleDefinitionService.getAssignedRole(RoleContext context,
RoleDescriptor role)
Get the specified role assigned to the context
|
Modifier and Type | Method and Description |
---|---|
Set<AssignedRole> |
RoleDefinitionService.getAllAssignedRoles(RoleDescriptor role)
Get all assignments of this role to contexts in the system
|
Set<AssignedRole> |
RoleDefinitionService.getAssignedRoles(RoleContext roleContext)
Get all inherited and defined roles assigned to the context.
|
Set<AssignedRole> |
RoleAssignmentService.getAssignedRolesByPrincipal(RoleContext roleContext,
Principal principal)
Get all assignedRoles in a given context which have the specified principal as a member.
|
Modifier and Type | Method and Description |
---|---|
RoleAssignment |
RoleAssignmentService.getRoleAssignment(AssignedRole assignedRole)
Get the roleAssignment object for the specified assignedRole.
|
boolean |
RoleAssignmentService.isPrincipalInRole(AssignedRole assignedRole,
Principal principal)
Is the principal a member of the specified role?
|
void |
RoleDefinitionService.unassignAssignedRoleFromContext(AssignedRole assignedRole)
Remove an inherited role from context.
|
Constructor and Description |
---|
RoleAssignment(long revision,
AssignedRole assignedRole)
Constructor
|
RoleAssignment(long revision,
AssignedRole assignedRole,
Set<Principal> members)
Constructor when you have a membership list defined.
|
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA