public static enum HiveAuthFactory.AuthTypes extends Enum<HiveAuthFactory.AuthTypes>
Enum Constant and Description |
---|
CUSTOM |
KERBEROS |
LDAP |
NONE |
NOSASL |
PAM |
Modifier and Type | Method and Description |
---|---|
String |
getAuthName() |
static HiveAuthFactory.AuthTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveAuthFactory.AuthTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveAuthFactory.AuthTypes NOSASL
public static final HiveAuthFactory.AuthTypes NONE
public static final HiveAuthFactory.AuthTypes LDAP
public static final HiveAuthFactory.AuthTypes KERBEROS
public static final HiveAuthFactory.AuthTypes CUSTOM
public static final HiveAuthFactory.AuthTypes PAM
public static HiveAuthFactory.AuthTypes[] values()
for (HiveAuthFactory.AuthTypes c : HiveAuthFactory.AuthTypes.values()) System.out.println(c);
public static HiveAuthFactory.AuthTypes 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 String getAuthName()
Copyright © 2017 The Apache Software Foundation. All rights reserved.