Package | Description |
---|---|
alluxio.grpc | |
alluxio.master.file.meta | |
alluxio.security.authorization | |
alluxio.util.proto |
Modifier and Type | Method and Description |
---|---|
static AclAction |
GrpcUtils.fromProto(PAclAction pAction) |
Modifier and Type | Method and Description |
---|---|
static PAclAction |
GrpcUtils.toProto(AclAction action) |
Modifier and Type | Method and Description |
---|---|
boolean |
MutableInode.checkPermission(String user,
List<String> groups,
AclAction action) |
boolean |
Inode.checkPermission(String user,
List<String> groups,
AclAction action) |
boolean |
InodeView.checkPermission(String user,
List<String> groups,
AclAction action)
Checks whether the user or one of the groups has the permission to take the action.
|
Modifier and Type | Method and Description |
---|---|
static AclAction |
AclAction.ofOrdinal(int ordinal) |
static AclAction |
AclAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclAction[] |
AclAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<AclAction> |
AclActions.getActions() |
Set<AclAction> |
Mode.Bits.toAclActionSet() |
Modifier and Type | Method and Description |
---|---|
void |
AclActions.add(AclAction action)
Adds a permitted action.
|
AclEntry.Builder |
AclEntry.Builder.addAction(AclAction action)
Adds a permitted action.
|
boolean |
AccessControlList.checkPermission(String user,
List<String> groups,
AclAction action)
Checks whether the user has the permission to perform the action.
|
boolean |
AclActions.contains(AclAction action) |
Constructor and Description |
---|
AclActions(Set<AclAction> actions)
Creats a new instance with initial permitted actions.
|
Modifier and Type | Method and Description |
---|---|
static AclAction |
ProtoUtils.fromProto(Acl.AclAction action) |
Modifier and Type | Method and Description |
---|---|
static Acl.AclAction |
ProtoUtils.toProto(AclAction aclAction) |
Copyright © 2023. All Rights Reserved.