org.apache.hadoop.hbase.client.security
Enum SecurityCapability
java.lang.Object
java.lang.Enum<SecurityCapability>
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
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
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.