public static enum UserGroupInformation.AuthenticationMethod extends Enum<UserGroupInformation.AuthenticationMethod>
枚举常量和说明 |
---|
CERTIFICATE |
KERBEROS |
KERBEROS_SSL |
PROXY |
SIMPLE |
TOKEN |
限定符和类型 | 方法和说明 |
---|---|
static UserGroupInformation.AuthenticationMethod |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static UserGroupInformation.AuthenticationMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final UserGroupInformation.AuthenticationMethod SIMPLE
public static final UserGroupInformation.AuthenticationMethod KERBEROS
public static final UserGroupInformation.AuthenticationMethod TOKEN
public static final UserGroupInformation.AuthenticationMethod CERTIFICATE
public static final UserGroupInformation.AuthenticationMethod KERBEROS_SSL
public static final UserGroupInformation.AuthenticationMethod PROXY
public static UserGroupInformation.AuthenticationMethod[] values()
for (UserGroupInformation.AuthenticationMethod c : UserGroupInformation.AuthenticationMethod.values()) System.out.println(c);
public static UserGroupInformation.AuthenticationMethod valueOf(String name)
name
- 要返回的枚举常量的名称。Copyright © 2009 The Apache Software Foundation