🔐

Spring Security

Boot 3.x · Security 6.x · jjwt

Interview prep + implementation reference — click any question to expand

Core ComponentsAuth Flow
Request FlowAuth Flow
Filter Chain OrderAuth Flow
JWT Structure & ClaimsJWT
JwtUtil ImplementationJWT
JwtAuthenticationFilterJWT
Auth Endpoint & Token StrategyJWT
OAuth2 TheoryOAuth2
Resource Server ImplementationOAuth2
Method SecurityAuthorization
Unit TestsTesting
Integration TestsTesting
CORS ConfigurationGotchas
Security Headers & HTTPSGotchas
Common MistakesGotchas
Production ChecklistGotchas

Spring Security 6.x · Spring Boot 3.x · Java 17+ · JWT (jjwt) · OAuth2 Resource Server