Package overit.geocall.util.password
Class None
java.lang.Object
overit.geocall.util.password.PasswordAlgo
overit.geocall.util.password.None
Class that manages the None algorithm used to store the password.
This means that the password will be not hashed and stored as it is.
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.util.password.PasswordAlgo
PasswordAlgo.Type -
Field Summary
Fields inherited from class overit.geocall.util.password.PasswordAlgo
ARGON2_BETA, BCRYPT, OPKBDF2, SCRYPT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class overit.geocall.util.password.PasswordAlgo
getInstance
-
Constructor Details
-
None
public None()
-
-
Method Details
-
getType
Description copied from class:PasswordAlgoReturns the type of algorithm used- Specified by:
getTypein classPasswordAlgo- Returns:
- The type of algorithm used
-
generate
Description copied from class:PasswordAlgoGenerates the hashed password- Specified by:
generatein classPasswordAlgo- Parameters:
password- To hash- Returns:
- The hashed password
-
check
Description copied from class:PasswordAlgoChecks if the stored hashed password corresponds- Specified by:
checkin classPasswordAlgo- Parameters:
password- The password to checkstored- The stored password to check- Returns:
trueif the password corresponds to the stored one,falseotherwise
-