- Notifications
You must be signed in to change notification settings - Fork934
Sample project on how to implement JWT security based using Spring boot 3 and Spring security 6
License
NotificationsYou must be signed in to change notification settings
ali-bouali/spring-boot-3-jwt-security
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project demonstrates the implementation of security using Spring Boot 3.0 and JSON Web Tokens (JWT). It includes the following features:
- 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.0
- Spring Security
- JSON Web Tokens (JWT)
- BCrypt
- Maven
To get started with this project, you will need to have the following installed on your local machine:
- JDK 17+
- Maven 3+
To build and run the project, follow these steps:
- Clone the repository:
git clone https://github.com/ali-bouali/spring-boot-3-jwt-security.git - Navigate to the project directory: cd spring-boot-security-jwt
- Add database "jwt_security" to postgres
- Build the project: mvn clean install
- Run the project: mvn spring-boot:run
-> The application will be available athttp://localhost:8080.
About
Sample project on how to implement JWT security based using Spring boot 3 and Spring security 6
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.