Enum Class AuthenticationMethod

java.lang.Object
java.lang.Enum<AuthenticationMethod>
org.schlunzis.zis.stomp.client.AuthenticationMethod
All Implemented Interfaces:
Serializable, Comparable<AuthenticationMethod>, Constable

public enum AuthenticationMethod extends Enum<AuthenticationMethod>
Enumeration of supported authentication methods.
Since:
1.0.0
  • Enum Constant Details

    • STOMP

      public static final AuthenticationMethod STOMP
      Login and passcode authentication as defined in the STOMP protocol using the CONNECT frame.
      Since:
      1.0.0
    • HTTP_BASIC

      public static final AuthenticationMethod HTTP_BASIC
      HTTP Basic Authentication using the Authorization header with Base64-encoded credentials.
      Since:
      1.0.0
  • Method Details

    • values

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