プロジェクト
GitHubで見る
ali-bouali/spring-boot-3-jwt-security
ali-bouali/spring-boot-3-jwt-security has 2,035 GitHub stars and 920 forks. GitHot measured 0 stars in 24 hours, -1 in 7 days, and -3 in 15 days. Last checked 2026-11-24 17:49 UTC. Last push 2024-07-01.
できること
- User registration and login with JWT authentication
- Password encryption using BCrypt
- Role-based authorization with Spring Security
- Customized access denied handling
計測したスター増加
- 24時間
- 0
- 7日間
- -1
- 15日間
- -3
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
Spring Boot 3 と Spring Security 6 を使って JWT ベースのセキュリティを実装する方法を示すサンプルプロジェクトです。
セキュリティREADME.md
オリジナル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/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 at http://localhost:8080.
関連プロジェクトを探す
読み込み中…