The Spring Security Filter Chain, From Request to SecurityContext
How SecurityFilterChain is assembled, where UsernamePassword and JWT filters sit, and why 'it works in a test slice' still fails behind a gateway.
Tag
8 articles · 26 min of reading
How SecurityFilterChain is assembled, where UsernamePassword and JWT filters sit, and why 'it works in a test slice' still fails behind a gateway.
Public-key credentials scoped to RP ID, user verification, and why a fake login page cannot replay a passkey assertion.
RFC 7636: why native and SPA clients must use authorization code plus PKCE, and how a stolen redirect code becomes useless without the verifier.
AS, TGS, tickets, and clocks: how Kerberos avoids sending passwords to every service, and why skew and SPNs still page AD admins.
Why fast general-purpose hashes like SHA-256 are unsafe for passwords, and how bcrypt, scrypt, and Argon2 defend against modern offline cracking hardware.
A practical guide to OAuth 2.0 and OpenID Connect flows for application developers, covering authorization code with PKCE and why implicit flow is obsolete.
JSON Web Tokens are easy to misuse in ways that look correct in a demo and fail catastrophically in production — a walkthrough of the common mistakes.
SameSite cookies made CSRF less of a default threat, but the attack is far from dead for APIs using cookie auth, subdomains, or older browsers.