Learn to implement Remember Me (remember login) feature for a Spring Boot application, with two approaches:
- Simple Hash-based Token Approach: using cookies only.
- Persistent Token Approach: using cookies and database (MySQL).
Suppose that you have an existing Spring Boot application with authentication (login & logout) functions already implemented - and now you want to add Remember me function to allow the users to remember logins on their computer to provide better user experience.
Key technologies:
- Spring Boot
- Spring Data JPA for the data access layer
- Spring Security for authentication and remember me support
- Thymeleaf Extras for Spring Security used in the view layer
- MySQL database
For code examples and sample project, read the written article at: https://www.codejava.net/frameworks/s...