Package com.mapr.fs
Class MapRFileAce
java.lang.Object
com.mapr.fs.MapRFileAce
Access Control Expression. An ACE is defined by a combination of user, group, or role definitions. You
can combine these definitions using the following syntax:
- u: Username or user ID, as they appear in /etc/passwd, of a specific user. Usage: u:[username or user ID]
- g: Group name or group ID, as they appear in /etc/group, of a specific group. Usage: g:[group name or group ID]
- r: Name of a specific role. Usage: r:[role name]. More details about roles is found at Roles
- p: Public. Specifies that this operation is available to the public without restriction. Cannot be combined with any other operator.
- !: Negation operator. Usage: ![operator].
- &: AND operation.
- |: OR operation
- (): Delimiters for subexpressions.
- "": The empty string indicates that no user has the specified permission.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns access type.Returns boolean expression.static booleanIsBooleanExpressionValid(String bExprIn) Checks whether boolean expression is valid.voidsetBooleanExpression(String bExprIn) Set Access Control Expression.
-
Constructor Details
-
MapRFileAce
-
-
Method Details
-
setBooleanExpression
Set Access Control Expression.- Throws:
IOException- if boolean expression is invalid
-
IsBooleanExpressionValid
Checks whether boolean expression is valid. -
getAccessType
Returns access type. -
getBooleanExpression
Returns boolean expression.
-