Enum Class EncryptionConfiguration

java.lang.Object
java.lang.Enum<EncryptionConfiguration>
de.bsvrz.dav.daf.main.EncryptionConfiguration
All Implemented Interfaces:
Serializable, Comparable<EncryptionConfiguration>, Constable

public enum EncryptionConfiguration extends Enum<EncryptionConfiguration>
Gibt die lokale Konfiguration der Verschlüsselung an. Eine Verschlüsselung kommt bei der Authentifizierung immer zustande und wird nur dann aufgelöst, wenn beide Kommunikationspartner den Wunsch äußern, nicht verschlüsseln zu wollen (Wert automatisch bei lokaler Verbindung oder nein).
  • Enum Constant Details

    • AlwaysEncrypted

      public static final EncryptionConfiguration AlwaysEncrypted
      Es soll immer verschlüsselt werden
    • Auto

      public static final EncryptionConfiguration Auto
      Es soll immer verschlüsselt werden, außer es handelt sich um eine lokale (Loopback-) Verbindung
    • PreferNoEncryption

      public static final EncryptionConfiguration PreferNoEncryption
      Der Kommunikationspartner möchte nie verschlüsseln
  • Method Details

    • values

      public static EncryptionConfiguration[] 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 EncryptionConfiguration 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<EncryptionConfiguration>
    • shouldDisable

      public boolean shouldDisable(boolean isLoopbackConnection)