Skip to content
Proyek

ali-bouali/spring-boot-3-jwt-security

Lihat di GitHub

Tentang

Proyek contoh yang menunjukkan cara menerapkan keamanan berbasis JWT menggunakan Spring Boot 3 dan Spring Security 6

Pengembangan web dan aplikasi

Cara angka ini diukur

Yang dapat Anda lakukan

  • User registration and login with JWT authentication
  • Password encryption using BCrypt
  • Role-based authorization with Spring Security
  • Customized access denied handling

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
-2
dalam 15 hari
-2
dalam 1 bulan
-5

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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.

Jelajahi proyek terkait

Memuat…