Spring Security Remember Me Examples (Hash-based Token and Persistent Token)

Pubblicato il: 16 agosto 2020
sul canale di: Code Java
7,188
120

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...


In questa pagina del sito puoi guardare il video online Spring Security Remember Me Examples (Hash-based Token and Persistent Token) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Java 16 agosto 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 7,188 volte e gli è piaciuto 120 spettatori. Buona visione!