security-auth-patterns
CommunitySecure Spring Security setup with JWT and RBAC.
Authorrizwan2004cs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Inconsistent and insecure access control in backend services is addressed by providing centralized security patterns for Spring Security, JWT authentication, and role-based access control (RBAC) tailored for the AI Donor Matcher backend.
Core Features & Use Cases
- Centralized SecurityConfig rules and JWT validation flow to ensure consistent authorization across endpoints.
- Clear role mapping (DONOR, NGO, ADMIN) with enforcement of permissions on API surfaces.
- Helpers and guidance for extracting authenticated user details from the SecurityContext within controllers and services.
Quick Start
Configure SecurityConfig and JwtFilter to protect new endpoints by enforcing JWT authentication and role-based access control.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: security-auth-patterns Download link: https://github.com/rizwan2004cs/AI-Donor-Matcher-Backend/archive/main.zip#security-auth-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.