{"repo":"spacecodee/springboot-security-open-template","free":true,"listed":false,"github":"https://github.com/spacecodee/springboot-security-open-template","clone":"git clone https://github.com/spacecodee/springboot-security-open-template.git","description":"This repository is a Spring Boot template for implementing JWT-based authentication and role-based access control. It includes secure user management, developer and admin protections, token security features, and integrated API documentation using Swagger and OpenAPI.","language":"Java","stars":46,"topics":["devcontainer","docker","docs","gradle","java","postgresql","springboot","swagger"],"license":null,"category":"databases-storage","readme_excerpt":"🔐 Spring Security JWT Template — Spring Boot 3.3.5 📋 Prerequisites - ☕ Java 23 - 🐘 PostgreSQL - 💻 IDE: IntelliJ IDEA, Eclipse, etc. ⚙️ Configuration Copy and update the application-local.properties.example in resources folder, it should be named application-local.properties Copy and update the .env.example file in the .devcontainer folder of the application, it should be named .env 📚 Documentation ---------------- - 📖 Swagger UI available at: /api/v1/swagger-ui/index.html - 🔍 OpenAPI docs at: /api/v1/v3/api-docs 🛡️ Security Features --------------------- Authentication & Authorization - ✅ JWT-based authentication - ✅ Role-based access control (RBAC) - ✅ Permission-based access control - ✅ Secure password handling - ✅ Token invalidation on user updates - ✅ Locale-based responses (en/es) - ✅ Cache-based permission management - ✅ Dynamic path pattern matching Developer Protection - ✅ Cannot delete last remaining developer - ✅ Automatic token invalidation before deletion - ✅ Username uniqueness validation - ✅ Safe update operations - ✅ Path-based permission control - ✅ Status change validation Admin Protection - ✅ Cannot delete last remaining admin - ✅ Automatic token invalidation before deletion - ✅ Username uniqueness validation - ✅ Safe update operations - ✅ Enhanced path security Customer Management - ✅ Full CRUD operations - ✅ Role-based access control - ✅ Username uniqueness validation - ✅ Safe update operations - ✅ Status management Business Rules User Management: ","default_branch":null,"files":null,"tree":[],"storefront":"/r/spacecodee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spacecodee/springboot-security-open-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}