public enum MySQLAuthenticationMethod extends Enum<MySQLAuthenticationMethod>
| Enum Constant and Description |
|---|
CLEAR_TEXT_AUTHENTICATION |
OLD_PASSWORD_AUTHENTICATION |
SECURE_PASSWORD_AUTHENTICATION |
SHA256 |
WINDOWS_NATIVE_AUTHENTICATION |
| Modifier and Type | Method and Description |
|---|---|
static MySQLAuthenticationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySQLAuthenticationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySQLAuthenticationMethod OLD_PASSWORD_AUTHENTICATION
public static final MySQLAuthenticationMethod SECURE_PASSWORD_AUTHENTICATION
public static final MySQLAuthenticationMethod CLEAR_TEXT_AUTHENTICATION
public static final MySQLAuthenticationMethod WINDOWS_NATIVE_AUTHENTICATION
public static final MySQLAuthenticationMethod SHA256
public static MySQLAuthenticationMethod[] values()
for (MySQLAuthenticationMethod c : MySQLAuthenticationMethod.values()) System.out.println(c);
public static MySQLAuthenticationMethod 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 nullCopyright © 2023 The Apache Software Foundation. All rights reserved.