All Implemented Interfaces:
Password<DigestPassword,DigestPassword.Encoder>

public class DigestPassword extends AbstractPassword<DigestPassword,DigestPassword.Encoder>

A password that uses HTTP Digest function to encode password as defined by RFC 7616 Section 3.4.2.

A digest password can be used to match digest credentials in a DigestCredentialsMatcher.

Since:
1.5
Author:
Jeremy Kuhn
See Also:
  • Constructor Details

    • DigestPassword

      public DigestPassword(String encoded, DigestPassword.Encoder encoder)

      Creates a Digest password with the specified value and encoder.

      Parameters:
      encoded - the encoded password value
      encoder - the password encoder