A Spring Boot + Spring Security example showing how to issue and validate JWT (JSON Web Tokens), implement role-based access control (RBAC), and secure REST endpoints using stateless authentication.
-
Updated
Oct 1, 2025 - Java
A Spring Boot + Spring Security example showing how to issue and validate JWT (JSON Web Tokens), implement role-based access control (RBAC), and secure REST endpoints using stateless authentication.
Full implementation of JWT authentication using Spring Security 6, JJWT library, and MySQL. Features custom filters, stateless session management, and role-based access control. In branch feature/refresh-token have refresh token for long lived token with access token short-lived , automatically delete expired token and logout feature
Laboratório de Segurança Backend: Implementação de Autenticação e Autorização Stateless utilizando Spring Security 3.x, JWT (JSON Web Tokens) e criptografia BCrypt.
Add a description, image, and links to the stateless-auth topic page so that developers can more easily learn about it.
To associate your repository with the stateless-auth topic, visit your repo's landing page and select "manage topics."