Implementation of security using Spring Boot 3.1.0 and JSON Web Tokens (JWT).
- User registration and login with JWT authentication
- Password encryption using BCrypt
- Role-based authorization with Spring Security
- Customized access denied handling
- Logout mechanism
- Refresh token
- Spring Boot 3.1.0
- Spring Security 6.1.0
- JSON Web Tokens (JWT)
- BCrypt
- Gradle
To get started with this project, you will need to have the following installed on your local machine:
- JDK 17+
- Gradle 8+
To build and run the project,
- Build the project: .\gradlew.bat[.\gradlew] clean build
- Run the project: .\gradlew.bat[.\gradlew] bootRun