Spring Security 6 Architecture

Component Inspector

Click on any component in the diagram to explore its role, technical breakdown, and code examples.

Simulation Legend

Incoming Request / Processing
Success / Authorized
Exception / Denied
HTTP Req
Client Request
SecurityFilterChain
SecurityContext
Filter
Authentication
Filter
Exception
TranslationFilter
AuthorizationFilter
Authentication Architecture
AuthenticationManager
Coordinates Validation
AuthenticationProvider
e.g. DaoAuthenticationProvider
UserDetailsService
Loads Data
PasswordEncoder
Validates Hash
SecurityContextHolder
Stores Auth State
Target Resource
Secured Endpoint