This project demonstrates how to secure a Spring Boot application using Spring Security and JSON Web Tokens (JWT) for authentication and user role-based authorization.
- JWT Authentication: Secure endpoints with token-based authentication.
- Role-Based Authorization: Restrict access to endpoints based on user roles.
- User Management: Basic user registration and login functionalities.
- Java Development Kit (JDK) 8 or higher
- Maven 3.6.0 or higher
- An IDE (e.g., IntelliJ IDEA, Eclipse)
- Clone the repository:
git clone https://github.com/johntranz/SpringSecurity-JWT.git