パッケージ org.postgresql.jdbc

列挙 GSSEncMode

java.lang.Object
java.lang.Enum<GSSEncMode>
org.postgresql.jdbc.GSSEncMode
すべての実装されたインタフェース:
Serializable, Comparable<GSSEncMode>, java.lang.constant.Constable

public enum GSSEncMode extends Enum<GSSEncMode>
  • 列挙型定数の詳細

    • DISABLE

      public static final GSSEncMode DISABLE
      Do not use encrypted connections.
    • ALLOW

      public static final GSSEncMode ALLOW
      Start with non-encrypted connection, then try encrypted one.
    • PREFER

      public static final GSSEncMode PREFER
      Start with encrypted connection, fallback to non-encrypted (default).
    • REQUIRE

      public static final GSSEncMode REQUIRE
      Ensure connection is encrypted.
  • フィールド詳細

    • value

      public final String value
  • メソッドの詳細

    • values

      public static GSSEncMode[] values()
      この列挙型の定数を含む配列を宣言されている順序で 返します。
      戻り値:
      この列挙型の定数を含む、宣言されている順序での配列
    • valueOf

      public static GSSEncMode valueOf(String name)
      指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      IllegalArgumentException - この列挙型に、指定した名前の定数がない場合
      NullPointerException - 引数がnullの場合
    • requireEncryption

      public boolean requireEncryption()
    • of

      public static GSSEncMode of(Properties info) throws PSQLException
      例外:
      PSQLException