Module io.inverno.mod.security
Class MessageDigestPassword
java.lang.Object
io.inverno.mod.security.authentication.password.AbstractPassword<MessageDigestPassword,MessageDigestPassword.Encoder>
io.inverno.mod.security.authentication.password.MessageDigestPassword
- All Implemented Interfaces:
Password<MessageDigestPassword,
MessageDigestPassword.Encoder>
public class MessageDigestPassword
extends AbstractPassword<MessageDigestPassword,MessageDigestPassword.Encoder>
A password that uses a MessageDigest
to encode password.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AMessageDigest
based password encoder implementation. -
Field Summary
Fields inherited from class io.inverno.mod.security.authentication.password.AbstractPassword
encoder, value
-
Constructor Summary
ConstructorDescriptionMessageDigestPassword
(String encoded, MessageDigestPassword.Encoder encoder) Creates a message 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
-
MessageDigestPassword
Creates a message digest password with the specified value and encoder.
- Parameters:
encoded
- the encoded password valueencoder
- the password encoder
-