Uses of Class
org.apache.hadoop.hbase.security.access.Permission.Action

Packages that use Permission.Action
org.apache.hadoop.hbase.protobuf Holds classes generated from protobuf src/main/protobuf definition files. 
org.apache.hadoop.hbase.security.access   
 

Uses of Permission.Action in org.apache.hadoop.hbase.protobuf
 

Methods in org.apache.hadoop.hbase.protobuf that return Permission.Action
static Permission.Action ProtobufUtil.toPermissionAction(AccessControlProtos.Permission.Action action)
          Converts a Permission.Action proto to a client Permission.Action object.
 

Methods in org.apache.hadoop.hbase.protobuf that return types with arguments of type Permission.Action
static List<Permission.Action> ProtobufUtil.toPermissionActions(List<AccessControlProtos.Permission.Action> protoActions)
          Converts a list of Permission.Action proto to a list of client Permission.Action objects.
 

Methods in org.apache.hadoop.hbase.protobuf with parameters of type Permission.Action
static void ProtobufUtil.grant(AccessControlProtos.AccessControlService.BlockingInterface protocol, String userShortName, Permission.Action... actions)
          A utility used to grant a user global permissions.
static void ProtobufUtil.grant(AccessControlProtos.AccessControlService.BlockingInterface protocol, String userShortName, String namespace, Permission.Action... actions)
          A utility used to grant a user namespace permissions.
static void ProtobufUtil.grant(AccessControlProtos.AccessControlService.BlockingInterface protocol, String userShortName, TableName tableName, byte[] f, byte[] q, Permission.Action... actions)
          A utility used to grant a user table permissions.
static void ProtobufUtil.revoke(AccessControlProtos.AccessControlService.BlockingInterface protocol, String userShortName, Permission.Action... actions)
          A utility used to revoke a user's global permissions.
static void ProtobufUtil.revoke(AccessControlProtos.AccessControlService.BlockingInterface protocol, String userShortName, String namespace, Permission.Action... actions)
          A utility used to revoke a user's namespace permissions.
static void ProtobufUtil.revoke(AccessControlProtos.AccessControlService.BlockingInterface protocol, String userShortName, TableName tableName, byte[] f, byte[] q, Permission.Action... actions)
          A utility used to revoke a user's table permissions.
static AccessControlProtos.Permission.Action ProtobufUtil.toPermissionAction(Permission.Action action)
          Convert a client Permission.Action to a Permission.Action proto
 

Uses of Permission.Action in org.apache.hadoop.hbase.security.access
 

Fields in org.apache.hadoop.hbase.security.access declared as Permission.Action
protected  Permission.Action[] Permission.actions
           
 

Fields in org.apache.hadoop.hbase.security.access with type parameters of type Permission.Action
protected static Map<Byte,Permission.Action> Permission.ACTION_BY_CODE
           
 

Methods in org.apache.hadoop.hbase.security.access that return Permission.Action
 Permission.Action AuthResult.getAction()
           
 Permission.Action[] Permission.getActions()
           
static Permission.Action Permission.Action.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Permission.Action[] Permission.Action.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.apache.hadoop.hbase.security.access with parameters of type Permission.Action
static AuthResult AuthResult.allow(String request, String reason, User user, Permission.Action action, String namespace)
           
static AuthResult AuthResult.allow(String request, String reason, User user, Permission.Action action, TableName table, byte[] family, byte[] qualifier)
           
static AuthResult AuthResult.allow(String request, String reason, User user, Permission.Action action, TableName table, Map<byte[],? extends Collection<?>> families)
           
 boolean TableAuthManager.authorize(User user, Permission.Action action)
          Authorize a global permission based on ACLs for the given user and the user's groups.
 boolean TableAuthManager.authorize(User user, String namespace, Permission.Action action)
           
 boolean TableAuthManager.authorize(User user, TableName table, byte[] family, byte[] qualifier, Permission.Action action)
           
 boolean TableAuthManager.authorize(User user, TableName table, byte[] family, Permission.Action action)
           
 boolean TableAuthManager.authorize(User user, TableName table, KeyValue kv, Permission.Action action)
           
 boolean TableAuthManager.authorizeGroup(String groupName, Permission.Action action)
          Checks authorization for a given action for a group, based on the stored permissions.
 boolean TableAuthManager.authorizeGroup(String groupName, TableName table, byte[] family, Permission.Action action)
          Checks authorization to a given table and column family for a group, based on the stored permissions.
 boolean TableAuthManager.authorizeUser(String username, Permission.Action action)
          Checks global authorization for a specific action for a user, based on the stored user permissions.
 boolean TableAuthManager.authorizeUser(String username, TableName table, byte[] family, byte[] qualifier, Permission.Action action)
           
 boolean TableAuthManager.authorizeUser(String username, TableName table, byte[] family, Permission.Action action)
          Checks authorization to a given table and column family for a user, based on the stored user permissions.
static AuthResult AuthResult.deny(String request, String reason, User user, Permission.Action action, String namespace)
           
static AuthResult AuthResult.deny(String request, String reason, User user, Permission.Action action, TableName table, byte[] family, byte[] qualifier)
           
static AuthResult AuthResult.deny(String request, String reason, User user, Permission.Action action, TableName table, Map<byte[],? extends Collection<?>> families)
           
 boolean Permission.implies(Permission.Action action)
           
 boolean TablePermission.implies(String namespace, Permission.Action action)
          Checks that a given table operation is authorized by this permission instance.
 boolean TablePermission.implies(TableName table, byte[] family, byte[] qualifier, Permission.Action action)
          Checks that a given table operation is authorized by this permission instance.
 boolean TablePermission.implies(TableName table, KeyValue kv, Permission.Action action)
          Checks if this permission grants access to perform the given action on the given table and key value.
 boolean TablePermission.matchesFamily(TableName table, byte[] family, Permission.Action action)
          Returns true if this permission matches the given column family at least.
 boolean TablePermission.matchesFamilyQualifier(TableName table, byte[] family, byte[] qualifier, Permission.Action action)
          Returns if the given permission matches the given qualifier.
 boolean TableAuthManager.matchPermission(User user, TableName table, byte[] family, byte[] qualifier, Permission.Action action)
           
 boolean TableAuthManager.matchPermission(User user, TableName table, byte[] family, Permission.Action action)
          Returns true if the given user has a TablePermission matching up to the column family portion of a permission.
 

Constructors in org.apache.hadoop.hbase.security.access with parameters of type Permission.Action
AuthResult(boolean allowed, String request, String reason, User user, Permission.Action action, String namespace)
           
AuthResult(boolean allowed, String request, String reason, User user, Permission.Action action, TableName table, byte[] family, byte[] qualifier)
           
AuthResult(boolean allowed, String request, String reason, User user, Permission.Action action, TableName table, Map<byte[],? extends Collection<?>> families)
           
Permission(Permission.Action... assigned)
           
TablePermission(String namespace, Permission.Action... assigned)
          Create a new permission for the given namespace, allowing the given actions.
TablePermission(String namespace, TableName table, byte[] family, byte[] qualifier, Permission.Action... assigned)
          Creates a new permission for the given namespace or table, restricted to the given column family and qualifer, allowing the assigned actions to be performed.
TablePermission(TableName table, byte[] family, byte[] qualifier, Permission.Action... assigned)
          Creates a new permission for the given table, restricted to the given column family and qualifer, allowing the assigned actions to be performed.
TablePermission(TableName table, byte[] family, Permission.Action... assigned)
          Create a new permission for the given table and (optionally) column family, allowing the given actions.
UserPermission(byte[] user, Permission.Action... assigned)
          Creates a new instance for the given user.
UserPermission(byte[] user, String namespace, Permission.Action... assigned)
          Creates a new instance for the given user.
UserPermission(byte[] user, TableName table, byte[] family, byte[] qualifier, Permission.Action... assigned)
          Creates a new permission for the given user, table, column family and column qualifier.
UserPermission(byte[] user, TableName table, byte[] family, Permission.Action... assigned)
          Creates a new instance for the given user, table and column family.
 



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.