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