Closed
Description
As you can see in this PR, passwords are currently being stored in plain text.
(I believe this task should be taken after this PR is merged ❗️)
This poses a security vulnerability, so it would be better to encrypt them.
Deliverables
- After displaying the
password
in the console, encrypt it - Use
PasswordEncoder
for any password comparison logic - Update related test code accordingly (It should be sufficient to update the smoke test code written in 52cbf74)
Since displaying the password in the console is already implemented, you just need to pass the encrypted password when creating the
User
object.
Since a PasswordEncoder
bean already exists in WebSecurityConfig
, it should be straightforward to use it for the implementation.
Related Links
Metadata
Metadata
Assignees
Labels
No labels