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