|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AuthMethod>
org.apache.hadoop.hbase.security.AuthMethod
public enum AuthMethod
Authentication method
| Enum Constant Summary | |
|---|---|
DIGEST
|
|
KERBEROS
|
|
SIMPLE
|
|
| Field Summary | |
|---|---|
org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod |
authenticationMethod
|
byte |
code
The code for this method. |
String |
mechanismName
|
| Method Summary | |
|---|---|
String |
getMechanismName()
Return the SASL mechanism name |
static AuthMethod |
read(DataInput in)
Read from in |
static AuthMethod |
valueOf(byte code)
Return the object represented by the code. |
static AuthMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuthMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
void |
write(DataOutput out)
Write to out |
| 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 |
|---|
public static final AuthMethod SIMPLE
public static final AuthMethod KERBEROS
public static final AuthMethod DIGEST
| Field Detail |
|---|
public final byte code
public final String mechanismName
public final org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod authenticationMethod
| Method Detail |
|---|
public static AuthMethod[] values()
for (AuthMethod c : AuthMethod.values()) System.out.println(c);
public static AuthMethod valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static AuthMethod valueOf(byte code)
public String getMechanismName()
public static AuthMethod read(DataInput in)
throws IOException
IOException
public void write(DataOutput out)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||