304-frameworks-spring-boot-security

Installation
SKILL.md

Spring Boot Security Guidelines

Apply Spring Boot security best practices with secure-by-default API boundaries.

What is covered in this Skill?

  • Spring Security configuration and SecurityFilterChain setup
  • Authentication and authorization policies for endpoints
  • Method-level security (@PreAuthorize / @Secured)
  • Principle of least privilege for roles and scopes
  • Secure error handling and denial responses
  • Sensitive data handling in logs and responses

Scope: Apply recommendations based on the reference rules and good/bad examples.

Constraints

Before applying security changes, ensure the project compiles. After improvements, run full verification.

Related skills

More from jabrena/cursor-rules-java

Installs
23
GitHub Stars
380
First Seen
Apr 27, 2026