Go to file
Hyojin Ahn 3000b111ec gradle 설정파일 2026-06-08 09:44:46 -04:00
gradle/wrapper gradle 설정파일 2026-06-08 09:44:46 -04:00
src java 21, gradle 8.14 로 변경. 2026-06-08 09:28:59 -04:00
.gitignore gradle 설정파일 2026-06-08 09:44:46 -04:00
LICENSE token, auth, role, permission 2025-11-19 08:21:33 -05:00
README.md java 21, gradle 8.14 로 변경. 2026-06-08 09:28:59 -04:00
build.gradle gradle 설정파일 2026-06-08 09:44:46 -04:00
docker-compose.yml token, auth, role, permission 2025-11-19 08:21:33 -05:00
gradlew gradle 설정파일 2026-06-08 09:44:46 -04:00
gradlew.bat gradle 설정파일 2026-06-08 09:44:46 -04:00
settings.gradle gradle 설정파일 2026-06-08 09:44:46 -04:00

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.5
  • Java 21
  • Spring Security
  • JSON Web Tokens (JWT)
  • BCrypt
  • Gradle

Getting Started

To get started with this project, you will need to have the following installed on your local machine:

  • JDK 21+
  • Gradle 8.14+ (or use the bundled Gradle Wrapper ./gradlew)

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: ./gradlew build
  • Run the project: ./gradlew bootRun

-> The application will be available at http://localhost:8080.