Package org.gridgain.internal.rbac
Class AssignmentOperationResult
java.lang.Object
org.gridgain.internal.rbac.AssignmentOperationResult
RBAC assignments operation result.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssignmentOperationResultassignmentsNotFound(Map<String, Set<String>> assignments) static AssignmentOperationResultempty(OperationResult result) static StringformatAssignments(Map<String, Set<String>> assignments) Formats role or privilege assignments in the form of `from1` -> `to1` or `from1` -> [`to1`, `to2`] per line.Formats the stored value associated with the error.static AssignmentOperationResultrolesNotFound(Set<String> roles) static AssignmentOperationResultusersNotFound(Set<String> users)
-
Method Details
-
formatError
Formats the stored value associated with the error. -
formatAssignments
Formats role or privilege assignments in the form of `from1` -> `to1` or `from1` -> [`to1`, `to2`] per line.- Parameters:
assignments- Map from origins of assignment to sets of destinations.- Returns:
- Resulting string.
-
empty
-
rolesNotFound
-
usersNotFound
-
assignmentsNotFound
-