Module io.inverno.mod.security
Class Argon2Password
java.lang.Object
io.inverno.mod.security.authentication.password.AbstractPassword<Argon2Password,Argon2Password.Encoder>
io.inverno.mod.security.authentication.password.Argon2Password
- All Implemented Interfaces:
Password<Argon2Password,
Argon2Password.Encoder>
A password that uses Argon2 key derivation function to encode password.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Nested Class Summary
-
Field Summary
Fields inherited from class io.inverno.mod.security.authentication.password.AbstractPassword
encoder, value
-
Constructor Summary
ConstructorDescriptionArgon2Password
(String encoded, Argon2Password.Encoder encoder) Creates an Argon2 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
-
Argon2Password
Creates an Argon2 password with the specified value and encoder.
- Parameters:
encoded
- the encoded password valueencoder
- the password encoder
-