This project demonstrates a comprehensive implementation of Spring Security with JWT (JSON Web Tokens) for authentication and authorization. It incorporates Access Tokens for short-lived security and Refresh Tokens for renewing access tokens without re-authenticating the user.
- Secure Authentication and Authorization:
- JWT-based token mechanism for stateless security.
- Access and Refresh Tokens:
- Access Tokens for quick, short-term authentication.
- Refresh Tokens for renewing access tokens securely.
- User Management:
- Endpoints for user registration and login.
- Scalable & Stateless:
- Stateless session management using Spring Security.
- API Documentation:
- Integrated Swagger UI for easy API exploration.
- Spring Boot - Backend framework
- Spring Security - Authentication and Authorization
- JWT (JSON Web Tokens) - Token-based security
- MySQL - Database (modifiable to MySQL/PostgreSQL)
- Maven - Dependency management
- Java 17 or later
- Maven for building the project
- Postman (optional) for testing APIs
- Internet connection for dependencies
git clone https://github.com/vivek-115/Spring-Security.git
cd your-repository