Spring Security Password Expiration Example

Code Java
Code Java
4.8 هزار بار بازدید - 4 سال پیش - Learn to Implement password expiration
Learn to Implement password expiration feature for an existing Spring Boot application with Spring Security, Spring Data JPA, Thymeleaf, Bootstrap, HTML and MySQL database.

Here's the password expiration strategy which I will guide you how to implement:
- Users must change password after 30 days since the last time they changed their password
- The Spring Boot application will request users to change password whenever password expires (including upon successful login)
- The new password must be different than the old password
- The user is logged out upon successful password change and must login again

Software programs:
- Java Development Kit (JDK)
- Spring Tool Suite  IDE (STS)
- MySQL Community Server & Workbench

I hope you will find this video as a good reference to implement your own password expiration feature with Spring Security in a Spring Boot project.

For copying the code snippets you see in this video, go to this article: https://www.codejava.net/frameworks/s...
4 سال پیش در تاریخ 1399/08/18 منتشر شده است.
4,811 بـار بازدید شده
... بیشتر