Enum Class TransportSecurityLevel

java.lang.Object
java.lang.Enum<TransportSecurityLevel>
org.j7m.middleware.security.api.TransportSecurityLevel
All Implemented Interfaces:
Serializable, Comparable<TransportSecurityLevel>, Constable

public enum TransportSecurityLevel extends Enum<TransportSecurityLevel>
Transport security level observed for a request.
  • Enum Constant Details

    • INSECURE

      public static final TransportSecurityLevel INSECURE
      No transport authentication or encryption.
    • TEST_AUTHENTICATED

      public static final TransportSecurityLevel TEST_AUTHENTICATED
      Caller supplied a test or development credential.
    • AUTHENTICATED_ENCRYPTED

      public static final TransportSecurityLevel AUTHENTICATED_ENCRYPTED
      Caller is authenticated by an encrypted modern transport.
    • UNKNOWN

      public static final TransportSecurityLevel UNKNOWN
      Security level is not known.
  • Method Details

    • values

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