title: How to update encoded password functionally in mysql with spring boot data jpa
body: <p>I have created CRUD operation with Spring Boot Data JPA. I'm doing with my experiment with change password functionally with role, if user forgot the old password, admin can change password user to default (ex: defaultpassword), I've tried this with put the password as plain text with @PutMapping Controller but because the password encoder it can't be logged in after changing the password as plain text. How the proper way to do it?</p>