Enum ConfigurationVariables.DefaultAuthenticationPlugin
- java.lang.Object
- 
- java.lang.Enum<ConfigurationVariables.DefaultAuthenticationPlugin>
- 
- com.oracle.bmc.mysql.model.ConfigurationVariables.DefaultAuthenticationPlugin
 
 
- 
- All Implemented Interfaces:
- BmcEnum,- Serializable,- Comparable<ConfigurationVariables.DefaultAuthenticationPlugin>
 - Enclosing class:
- ConfigurationVariables
 
 public static enum ConfigurationVariables.DefaultAuthenticationPlugin extends Enum<ConfigurationVariables.DefaultAuthenticationPlugin> implements BmcEnum The default authentication plugin.This must be a plugin that uses internal credentials storage, so these values are permitted: mysql_native_password, sha256_password, caching_sha2_password. As of MySQL 8.0.27, which introduces multifactor authentication, default_authentication_plugin is still used, but in conjunction with and at a lower precedence than the authentication_policy system variable. For details, see The Default Authentication Plugin. Because of this diminished role, default_authentication_plugin is deprecated as of MySQL 8.0.27 and subject to removal in a future MySQL version. defaultAuthenticationPlugin corresponds to the MySQL system variable [default_authentication_plugin](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin). 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CachingSha2PasswordMysqlNativePasswordSha256PasswordUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationVariables.DefaultAuthenticationPlugincreate(String key)StringgetValue()static ConfigurationVariables.DefaultAuthenticationPluginvalueOf(String name)Returns the enum constant of this type with the specified name.static ConfigurationVariables.DefaultAuthenticationPlugin[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
MysqlNativePasswordpublic static final ConfigurationVariables.DefaultAuthenticationPlugin MysqlNativePassword 
 - 
Sha256Passwordpublic static final ConfigurationVariables.DefaultAuthenticationPlugin Sha256Password 
 - 
CachingSha2Passwordpublic static final ConfigurationVariables.DefaultAuthenticationPlugin CachingSha2Password 
 - 
UnknownEnumValuepublic static final ConfigurationVariables.DefaultAuthenticationPlugin UnknownEnumValue This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 
- 
 - 
Method Detail- 
valuespublic static ConfigurationVariables.DefaultAuthenticationPlugin[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigurationVariables.DefaultAuthenticationPlugin c : ConfigurationVariables.DefaultAuthenticationPlugin.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ConfigurationVariables.DefaultAuthenticationPlugin valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
createpublic static ConfigurationVariables.DefaultAuthenticationPlugin create(String key) 
 
- 
 
-