Skip to content

ZaheerAhmadDev/security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Spring Security with JWT Authentication

This project demonstrates how to implement JWT-based Authentication and Authorization using Spring Boot and Spring Security.
It’s a simple yet complete example that shows how to secure REST APIs with access tokens.


πŸš€ Features

  • βœ… User registration and login endpoints
  • πŸ”‘ JSON Web Token (JWT) based authentication
  • 🧱 Role-based authorization (e.g., USER, ADMIN)
  • πŸ”’ Password hashing using BCrypt
  • βš™οΈ Stateless authentication with Spring Security filters
  • 🌐 CORS configuration for frontend integration
  • πŸ“¦ Exception handling and custom responses

πŸ› οΈ Tech Stack

  • Java 17+
  • Spring Boot
  • Spring Security
  • JWT (JSON Web Token)
  • Maven / Gradle
  • **PostgreSQL
  • Lombok

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages