Java Spring Security

Use this skill when statically reviewing a Spring Security 6 service's authorization and endpoint-exposure posture — multiple SecurityFilterChain beans and securityMatcher disjointness/ordering, authorizeHttpRequests matcher sequencing (first-match-wins, permitAll before authenticated, anyRequest() last), request-level vs @PreAuthorize/@PostAuthorize/@Secured method-security precedence, AuthorizationManager delegation and fail-closed behavior, CSRF on state-changing endpoints, and Spring Boot Actuator exposure (management.endpoints.web.exposure.include, EndpointRequest, securing /actuator). Trigger when a user provides Spring Security configuration (HttpSecurity/SecurityFilterChain beans, method-security annotations, actuator properties) or asks whether an endpoint or actuator surface is safely secured. Reads source and sanitized configuration only; it never builds, runs, or contacts a live system.

VincentChuWaiChow 2c456ed 5 files · 26.7 KB Updated

File contents

VincentChuWaiChow/vanguard-frontier-agentic/tree/main/skills/java/java-spring-security commit 2c456ed972

Frequently asked questions

npx skillmds@latest add vincentchuwaichow/java-spring-security