Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/strange1108/springboot3-springsecurity6-jwt-master
https://github.com/strange1108/springboot3-springsecurity6-jwt-master
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/strange1108/springboot3-springsecurity6-jwt-master
- Owner: Strange1108
- Created: 2024-01-02T15:21:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-02T15:29:27.000Z (about 1 year ago)
- Last Synced: 2024-01-02T16:33:09.407Z (about 1 year ago)
- Language: Java
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot 3.0 Security with JWT Implementation
This project demonstrates the implementation of security using Spring Boot 3.0 and JSON Web Tokens (JWT). It includes the following features:## 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## Technologies
* Spring Boot 3.0
* Spring Security
* JSON Web Tokens (JWT)
* BCrypt
* Maven
## Getting Started
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/Strange1108/springboot3-springsecurity6-jwt-master.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 at http://localhost:8080.