|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SaslRpcServer.AuthMethod> org.apache.hadoop.security.SaslRpcServer.AuthMethod
public static enum SaslRpcServer.AuthMethod
Authentication method
Enum Constant Summary | |
---|---|
DIGEST
|
|
KERBEROS
|
|
SIMPLE
|
Field Summary | |
---|---|
UserGroupInformation.AuthenticationMethod |
authenticationMethod
|
byte |
code
The code for this method. |
String |
mechanismName
|
Method Summary | |
---|---|
String |
getMechanismName()
Return the SASL mechanism name |
static SaslRpcServer.AuthMethod |
read(DataInput in)
Read from in |
static SaslRpcServer.AuthMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SaslRpcServer.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 SaslRpcServer.AuthMethod SIMPLE
public static final SaslRpcServer.AuthMethod KERBEROS
public static final SaslRpcServer.AuthMethod DIGEST
Field Detail |
---|
public final byte code
public final String mechanismName
public final UserGroupInformation.AuthenticationMethod authenticationMethod
Method Detail |
---|
public static SaslRpcServer.AuthMethod[] values()
for (SaslRpcServer.AuthMethod c : SaslRpcServer.AuthMethod.values()) System.out.println(c);
public static SaslRpcServer.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 String getMechanismName()
public static SaslRpcServer.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 |