Class DigestScheme

  • All Implemented Interfaces:
    java.io.Serializable, AuthScheme, ContextAwareAuthScheme

    public class DigestScheme
    extends RFC2617Scheme
    Digest authentication scheme as defined in RFC 2617. Both MD5 (default) and MD5-sess are supported. Currently only qop=auth or no qop is supported. qop=auth-int is unsupported. If auth and auth-int are provided, auth is used.

    Since the digest username is included as clear text in the generated Authentication header, the charset of the username must be compatible with the HTTP element charset used by the connection.

    Since:
    4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • DigestScheme

        public DigestScheme​(java.nio.charset.Charset credentialsCharset)
        Since:
        4.3
      • DigestScheme

        @Deprecated
        public DigestScheme​(ChallengeState challengeState)
        Deprecated.
        (4.3) do not use.
        Creates an instance of DigestScheme with the given challenge state.
        Since:
        4.2
      • DigestScheme

        public DigestScheme()