public static enum SaslRpcServer.AuthMethod extends Enum<SaslRpcServer.AuthMethod>
限定符和类型 | 字段和说明 |
---|---|
UserGroupInformation.AuthenticationMethod |
authenticationMethod |
byte |
code
The code for this method.
|
String |
mechanismName |
限定符和类型 | 方法和说明 |
---|---|
String |
getMechanismName()
Return the SASL mechanism name
|
static SaslRpcServer.AuthMethod |
read(DataInput in)
Read from in
|
static SaslRpcServer.AuthMethod |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SaslRpcServer.AuthMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
void |
write(DataOutput out)
Write to out
|
public static final SaslRpcServer.AuthMethod SIMPLE
public static final SaslRpcServer.AuthMethod KERBEROS
public static final SaslRpcServer.AuthMethod DIGEST
public final byte code
public final String mechanismName
public final UserGroupInformation.AuthenticationMethod authenticationMethod
public static SaslRpcServer.AuthMethod[] values()
for (SaslRpcServer.AuthMethod c : SaslRpcServer.AuthMethod.values()) System.out.println(c);
public static SaslRpcServer.AuthMethod valueOf(String name)
name
- 要返回的枚举常量的名称。public String getMechanismName()
public static SaslRpcServer.AuthMethod read(DataInput in) throws IOException
IOException
public void write(DataOutput out) throws IOException
IOException
Copyright © 2009 The Apache Software Foundation