Class RoleAssignmentImpl
java.lang.Object
org.gridgain.internal.rbac.assignments.RoleAssignmentImpl
- All Implemented Interfaces:
RoleAssignment
Implementation of
RoleAssignment based on user and role stores.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPuts all combinations of (roleName, userName) record.Removes all combinations of (roleName, userName) record.
-
Constructor Details
-
RoleAssignmentImpl
-
-
Method Details
-
assign
public CompletableFuture<OperationResultContainer<AssignmentOperationResult>> assign(Set<String> assignRoles, Set<String> assignUsers) Description copied from interface:RoleAssignmentPuts all combinations of (roleName, userName) record.- Specified by:
assignin interfaceRoleAssignment- Parameters:
assignRoles- Role names.assignUsers- User names.- Returns:
- The result of the operation.
-
revoke
public CompletableFuture<OperationResultContainer<AssignmentOperationResult>> revoke(Set<String> revokeRoles, Set<String> revokeUsers) Description copied from interface:RoleAssignmentRemoves all combinations of (roleName, userName) record.- Specified by:
revokein interfaceRoleAssignment- Parameters:
revokeRoles- Role names.revokeUsers- User names.- Returns:
- The result of the operation.
-