This project demonstrates various configurations and implementations of Spring Security, focusing on JWT token generation and general authentication and authorization mechanisms.
This branch contains the implementation of JWT (JSON Web Token) token generation and authorization. It includes:
- Configuration of JWT token creation.
- Middleware for JWT token validation.
- Securing endpoints using JWT tokens.
- Example usage and integration within a Spring Boot application.
This branch focuses on the general configuration of Spring Security for authentication and authorization. It includes:
- Basic and form-based authentication.
- Configuration of user roles and permissions.
- Securing endpoints based on user roles.
- Example usage and integration within a Spring Boot application.