Spring Security Architecture
Spring Security Architecture Overview This document explains all components shown in your Spring Security architecture diagram, focusing on the flow of authentication and the role of each module. 1. Filters Layer Spring Security uses a chain of servlet filters. Each filter performs a specific security-related function. SecurityContextHolderFilter UsernameAndPasswordAuthenticationFilter ExceptionTranslationFilter 2. SecurityContextHolder The central storage for all security information during a request. SecurityContext Principal 3. Authentication Manager Responsible for orchestrating authentication.…