Skip to content

github/awesome-copilot / skills/spring-security

spring-security

Unverified

Configure, test and review Spring Security 6/7 in Spring Boot 3/4 apps: SecurityFilterChain lambda DSL, method security, OAuth2 resource server with JWT, OIDC login, CSRF/CORS, password encoding, headers, actuator protection, and MockMvc security tests. Use when adding or auditing authentication and authorization.

references/password-encoding.md

View on GitHub
# Password encoding

Expose a `PasswordEncoder` bean: `PasswordEncoderFactories.createDelegatingPasswordEncoder()` (stores `{id}hash`, defaults to bcrypt, verifies older formats; `upgradeEncoding`/`UserDetailsPasswordService` migrate hashes over time).

- bcrypt truncates input at 72 bytes; consider Argon2 (needs Bouncy Castle `bcprov`) for long passphrases. Pick a cost of roughly 100-500 ms on production hardware.
- `User.withDefaultPasswordEncoder()` and `InMemoryUserDetailsManager` are for demos and tests only; back `UserDetailsService` with a database.
- Rate-limit login endpoints and use generic error messages to avoid user enumeration.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 464kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 464kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 464kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 192kUpdated Claude CodeCodexVerifiedInstall