프로젝트
GitHub에서 보기
ali-bouali/spring-boot-3-jwt-security
소개
Spring Boot 3와 Spring Security 6를 사용해 JWT 기반 보안을 구현하는 방법을 보여 주는 샘플 프로젝트입니다.
보안What you can do
- User registration and login with JWT authentication
- Password encryption using BCrypt
- Role-based authorization with Spring Security
- Customized access denied handling
측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -3
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSpring 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.
관련 프로젝트 살펴보기
불러오는 중…