public enum MySQLAuthenticationPlugin extends Enum<MySQLAuthenticationPlugin>
| Enum Constant and Description |
|---|
DEFAULT |
NATIVE_PASSWORD_AUTHENTICATION |
SHA2_AUTHENTICATION |
SHA256_AUTHENTICATION |
| Modifier and Type | Method and Description |
|---|---|
static MySQLAuthenticationPlugin |
getPluginByName(String pluginName)
Get plugin by name.
|
static MySQLAuthenticationPlugin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySQLAuthenticationPlugin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySQLAuthenticationPlugin DEFAULT
public static final MySQLAuthenticationPlugin NATIVE_PASSWORD_AUTHENTICATION
public static final MySQLAuthenticationPlugin SHA2_AUTHENTICATION
public static final MySQLAuthenticationPlugin SHA256_AUTHENTICATION
public static MySQLAuthenticationPlugin[] values()
for (MySQLAuthenticationPlugin c : MySQLAuthenticationPlugin.values()) System.out.println(c);
public static MySQLAuthenticationPlugin 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 static MySQLAuthenticationPlugin getPluginByName(String pluginName)
pluginName - plugin nameCopyright © 2023 The Apache Software Foundation. All rights reserved.