Enum ProxyAuthScheme

java.lang.Object
java.lang.Enum<ProxyAuthScheme>
software.amazon.awssdk.http.ProxyAuthScheme
All Implemented Interfaces:
Serializable, Comparable<ProxyAuthScheme>

@SdkPublicApi public enum ProxyAuthScheme extends Enum<ProxyAuthScheme>
Supported auth schemes for authentication with a proxy.
  • Enum Constant Details

    • BASIC

      public static final ProxyAuthScheme BASIC
      Basic authentication, as defined by RFC 7617. Requires a username and password.
    • NEGOTIATE

      public static final ProxyAuthScheme NEGOTIATE
      Kerberos authentication, using SPNEGO as defined by RFC 4559.

      Credentials are read from the environment Kerberos ticket cache. The client never prompts for a password and never reads a keytab, so the environment must already hold a valid ticket-granting ticket, typically obtained by running kinit and verifiable with klist. The cache location follows the usual Kerberos conventions, including the KRB5CCNAME environment variable. Any username and password configured on the proxy are ignored.

  • Method Details

    • values

      public static ProxyAuthScheme[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ProxyAuthScheme valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()