Class PrivilegeAlias
java.lang.Object
org.gridgain.internal.rbac.privileges.PrivilegeAlias
Privilege alias containing action alias and selector. But unlike
Privilege it can not be used directly. It should be converted to
set of privileges by calling toPrivileges().-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PrivilegeAlias.Builderbuilder()Builder forPrivilegeAlias.booleanformat()Returns user-friendly string representation.static PrivilegeAliasfromAction(ActionAlias actionAlias) Creates a privilege alias from action alias.inthashCode()Converts the privilege alias to a set of privileges.
-
Method Details
-
builder
Builder forPrivilegeAlias.- Returns:
- Builder.
-
fromAction
Creates a privilege alias from action alias.- Parameters:
actionAlias- Action alias.- Returns:
- Privilege alias.
-
toPrivileges
Converts the privilege alias to a set of privileges.- Returns:
- Set of privileges.
-
format
Returns user-friendly string representation. -
equals
-
hashCode
public int hashCode()
-