Skip to content

Build your own project faster with this common configuration of spring security. Project already contains a security configuration which allow everybody to a public controller due to perform registration and authentication, also present a first implementation of end point access filer baed on role present in the JWT. Have fun :D

Notifications You must be signed in to change notification settings

Edd-v2/spring-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Template Project

Accelerate your project with this Spring Security configuration template. Includes user registration and authentication endpoints, along with admin-specific access controls based on JWT roles.

Controllers

UserController

Handles user registration and login. Http Path:

Signup -> POST http:host/backend-esame/auth/signup

Login -> POST http:host/backend-esame/auth/login

AdminController

Admin-only endpoints for specific operations.

Path: GET http:host/backend-esame/admin/prova (just for testing purpose)

Security

Simplified setup with JWT authentication. Public access to /signup and /login. Admin role required for /admin endpoints.

Getting Started

Clone the repository. Configure and run the application. Use /signup and /login for user operations. Access /admin endpoints with admin credentials.

Technologies

Spring Boot Spring Security JWT Authentication

Considerations

Have Fun! Customize and expand this template to fit your project needs. Happy coding! 🙂

About

Build your own project faster with this common configuration of spring security. Project already contains a security configuration which allow everybody to a public controller due to perform registration and authentication, also present a first implementation of end point access filer baed on role present in the JWT. Have fun :D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages