Enum Class SecurityProperty
- All Implemented Interfaces:
Serializable,Comparable<SecurityProperty>,Constable
MySQL Connector/J Security Properties
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdded in MySQL 5.1.0Added in MySQL 5.1.0 and defaults to JKSAdded in MySQL 5.1.0Deprecated alias for tlsVersionsDeprecated in favor of sslMode and evaluated when useSSL is enabledAdded in MySQL 5.1.0Added in MySQL 5.1.0 and defaults to JKSAdded in MySQL 5.1.0Deprecated in favor of sslMode and defaults to true in 8.0.13 and laterDeprecated in favor of sslMode and defaults to false in 8.0.13 and later -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityPropertyReturns the enum constant of this class with the specified name.static SecurityProperty[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLED_TLS_PROTOCOLS
Deprecated alias for tlsVersions -
TRUST_CERTIFICATE_KEY_STORE_URL
Added in MySQL 5.1.0 -
TRUST_CERTIFICATE_KEY_STORE_TYPE
Added in MySQL 5.1.0 and defaults to JKS -
TRUST_CERTIFICATE_KEY_STORE_PASSWORD
Added in MySQL 5.1.0 -
CLIENT_CERTIFICATE_KEY_STORE_URL
Added in MySQL 5.1.0 -
CLIENT_CERTIFICATE_KEY_STORE_TYPE
Added in MySQL 5.1.0 and defaults to JKS -
CLIENT_CERTIFICATE_KEY_STORE_PASSWORD
Added in MySQL 5.1.0 -
REQUIRE_SSL
Deprecated in favor of sslMode and evaluated when useSSL is enabled -
USE_SSL
Deprecated in favor of sslMode and defaults to true in 8.0.13 and later -
VERIFY_SERVER_CERTIFICATE
Deprecated in favor of sslMode and defaults to false in 8.0.13 and later
-
-
Field Details
-
property
-
-
Constructor Details
-
SecurityProperty
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getProperty
-