Enum Class SecurityProperty

java.lang.Object
java.lang.Enum<SecurityProperty>
org.apache.nifi.cdc.mysql.processors.ssl.SecurityProperty
All Implemented Interfaces:
Serializable, Comparable<SecurityProperty>, Constable

public enum SecurityProperty extends Enum<SecurityProperty>
MySQL Connector/J Security Properties
  • Enum Constant Details

    • ENABLED_TLS_PROTOCOLS

      public static final SecurityProperty ENABLED_TLS_PROTOCOLS
      Deprecated alias for tlsVersions
    • TRUST_CERTIFICATE_KEY_STORE_URL

      public static final SecurityProperty TRUST_CERTIFICATE_KEY_STORE_URL
      Added in MySQL 5.1.0
    • TRUST_CERTIFICATE_KEY_STORE_TYPE

      public static final SecurityProperty TRUST_CERTIFICATE_KEY_STORE_TYPE
      Added in MySQL 5.1.0 and defaults to JKS
    • TRUST_CERTIFICATE_KEY_STORE_PASSWORD

      public static final SecurityProperty TRUST_CERTIFICATE_KEY_STORE_PASSWORD
      Added in MySQL 5.1.0
    • CLIENT_CERTIFICATE_KEY_STORE_URL

      public static final SecurityProperty CLIENT_CERTIFICATE_KEY_STORE_URL
      Added in MySQL 5.1.0
    • CLIENT_CERTIFICATE_KEY_STORE_TYPE

      public static final SecurityProperty CLIENT_CERTIFICATE_KEY_STORE_TYPE
      Added in MySQL 5.1.0 and defaults to JKS
    • CLIENT_CERTIFICATE_KEY_STORE_PASSWORD

      public static final SecurityProperty CLIENT_CERTIFICATE_KEY_STORE_PASSWORD
      Added in MySQL 5.1.0
    • REQUIRE_SSL

      public static final SecurityProperty REQUIRE_SSL
      Deprecated in favor of sslMode and evaluated when useSSL is enabled
    • USE_SSL

      public static final SecurityProperty USE_SSL
      Deprecated in favor of sslMode and defaults to true in 8.0.13 and later
    • VERIFY_SERVER_CERTIFICATE

      public static final SecurityProperty VERIFY_SERVER_CERTIFICATE
      Deprecated in favor of sslMode and defaults to false in 8.0.13 and later
  • Field Details

    • property

      private final String property
  • Constructor Details

    • SecurityProperty

      private SecurityProperty(String property)
  • Method Details

    • values

      public static SecurityProperty[] 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

      public static SecurityProperty valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getProperty

      public String getProperty()