|
| PasswordService () |
| Constructor of the PasswordService class using a BCrypt Password Encoder.
|
|
String | hashPassword (String plainPassword) |
| Transforms the plain text password to a secure password, hashing it.
|
|
boolean | verifyPassword (String plainPassword, String hashedPassword) |
| Verifies the password to see if it is equal to the hashed one.
|
|
◆ PasswordService()
com.hospital.portal.service.PasswordService.PasswordService |
( |
| ) |
|
|
inline |
Constructor of the PasswordService class using a BCrypt Password Encoder.
◆ hashPassword()
String com.hospital.portal.service.PasswordService.hashPassword |
( |
String |
plainPassword | ) |
|
|
inline |
Transforms the plain text password to a secure password, hashing it.
- Parameters
-
- Returns
- Hashed password
◆ verifyPassword()
boolean com.hospital.portal.service.PasswordService.verifyPassword |
( |
String |
plainPassword, |
|
|
String |
hashedPassword |
|
) |
| |
|
inline |
Verifies the password to see if it is equal to the hashed one.
- Parameters
-
Plain | password |
Hashed | password |
The documentation for this class was generated from the following file: