org.apache.hadoop.hbase.client.security
Enum SecurityCapability

java.lang.Object
  extended by java.lang.Enum<SecurityCapability>
      extended by org.apache.hadoop.hbase.client.security.SecurityCapability
All Implemented Interfaces:
Serializable, Comparable<SecurityCapability>

@InterfaceAudience.Public
@InterfaceStability.Evolving
public enum SecurityCapability
extends Enum<SecurityCapability>

Available security capabilities


Enum Constant Summary
AUTHORIZATION
           
CELL_AUTHORIZATION
           
CELL_VISIBILITY
           
SECURE_AUTHENTICATION
           
SIMPLE_AUTHENTICATION
           
 
Method Summary
 String getName()
           
 int getValue()
           
static SecurityCapability valueOf(int value)
           
static SecurityCapability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SecurityCapability[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SIMPLE_AUTHENTICATION

public static final SecurityCapability SIMPLE_AUTHENTICATION

SECURE_AUTHENTICATION

public static final SecurityCapability SECURE_AUTHENTICATION

AUTHORIZATION

public static final SecurityCapability AUTHORIZATION

CELL_AUTHORIZATION

public static final SecurityCapability CELL_AUTHORIZATION

CELL_VISIBILITY

public static final SecurityCapability CELL_VISIBILITY
Method Detail

values

public static SecurityCapability[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SecurityCapability c : SecurityCapability.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SecurityCapability valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public int getValue()

getName

public String getName()

valueOf

public static SecurityCapability valueOf(int value)


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.