Город МОСКОВСКИЙ
01:11:21

Spring Boot Forgot Password Example

Аватар
Реактивный Контент
Просмотры:
21
Дата загрузки:
28.11.2023 11:43
Длительность:
01:11:21
Категория:
Технологии и интернет

Описание

Learn to implement forgot password function for an existing Spring Boot application based on Spring MVC, Spring Data JPA, Spring Security, Spring Mail, Thymeleaf, HTML 5, Bootstrap and MySQL database.

Here's the strategy I used to implement the forgot password function:
- A user sends request for password reset by clicking "Forgot your password" link in the login page.
- The application will send a reset password link to the user’s email address.
- The user clicks the reset password link in email to change password.
Note that a random String token is used to secure the reset password link, to make sure that only the user who got the email will be able to change the password.

Technologies:
- Spring Boot Web
- Spring Data JPA & Hibernate
- Spring Security
- Spring Mail
- Thymeleaf
- HTML 5 & Bootstrap
- MySQL database

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

To read the corresponding article, go to https://www.codejava.net/frameworks/spring-boot/spring-security-forgot-password-tutorial

Рекомендуемые видео