Module io.inverno.mod.security
Class BCryptPassword
java.lang.Object
io.inverno.mod.security.authentication.password.AbstractPassword<BCryptPassword,BCryptPassword.Encoder>
io.inverno.mod.security.authentication.password.BCryptPassword
- All Implemented Interfaces:
Password<BCryptPassword,
BCryptPassword.Encoder>
A password that uses Bcrypt hashing 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
ConstructorDescriptionBCryptPassword
(String encoded, BCryptPassword.Encoder encoder) Creates a Bcrypt 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
-
BCryptPassword
Creates a Bcrypt password with the specified value and encoder.
- Parameters:
encoded
- the encoded password valueencoder
- the password encoder
-