Module io.inverno.mod.security.http
Class DigestPassword
java.lang.Object
io.inverno.mod.security.authentication.password.AbstractPassword<DigestPassword,DigestPassword.Encoder>
io.inverno.mod.security.http.digest.DigestPassword
- All Implemented Interfaces:
Password<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:
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
An HTTP Digest password encoder implementation as defined by RFC 7616 Section 3.4.2. -
Field Summary
Fields inherited from class io.inverno.mod.security.authentication.password.AbstractPassword
encoder, value
-
Constructor Summary
ConstructorDescriptionDigestPassword
(String encoded, DigestPassword.Encoder encoder) Creates a Digest password with the specified value and encoder. -
Method Summary
Methods inherited from class io.inverno.mod.security.authentication.password.AbstractPassword
equals, getEncoder, getValue, hashCode
-
Constructor Details
-
DigestPassword
Creates a Digest password with the specified value and encoder.
- Parameters:
encoded
- the encoded password valueencoder
- the password encoder
-