Package de.bsvrz.dav.daf.main
Enum Class EncryptionConfiguration
- All Implemented Interfaces:
Serializable
,Comparable<EncryptionConfiguration>
,Constable
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).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEs soll immer verschlüsselt werdenEs soll immer verschlüsselt werden, außer es handelt sich um eine lokale (Loopback-) VerbindungDer Kommunikationspartner möchte nie verschlüsseln -
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldDisable
(boolean isLoopbackConnection) toString()
static EncryptionConfiguration
Returns the enum constant of this class with the specified name.static EncryptionConfiguration[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AlwaysEncrypted
Es soll immer verschlüsselt werden -
Auto
Es soll immer verschlüsselt werden, außer es handelt sich um eine lokale (Loopback-) Verbindung -
PreferNoEncryption
Der Kommunikationspartner möchte nie verschlüsseln
-
-
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
-
toString
- Overrides:
toString
in classEnum<EncryptionConfiguration>
-
shouldDisable
public boolean shouldDisable(boolean isLoopbackConnection)
-