@InterfaceAudience.Public @InterfaceStability.Evolving public static enum UserGroupInformation.AuthenticationMethod extends Enum<UserGroupInformation.AuthenticationMethod>
Enum Constant and Description |
---|
CERTIFICATE |
KERBEROS |
KERBEROS_SSL |
PROXY |
SIMPLE |
TOKEN |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.security.SaslRpcServer.AuthMethod |
getAuthMethod() |
static UserGroupInformation.AuthenticationMethod |
valueOf(org.apache.hadoop.security.SaslRpcServer.AuthMethod authMethod) |
static UserGroupInformation.AuthenticationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserGroupInformation.AuthenticationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic org.apache.hadoop.security.SaslRpcServer.AuthMethod getAuthMethod()
public static UserGroupInformation.AuthenticationMethod valueOf(org.apache.hadoop.security.SaslRpcServer.AuthMethod authMethod)
Copyright © 2021 Apache Software Foundation. All rights reserved.