Spring Security
Spring Security integrates as a chain of servlet Filters (registered as a single DelegatingFilterProxy that delegates to an internal FilterChainProxy) sitting in front of the DispatcherServlet — each request passes through an ordered sequence of security filters (e.g., authentication filters, CSRF protection, authorization checks) before ever reaching application code, and any filter in the chain can short-circuit the request (e.g., reject it with 401/403) before it gets further.
Advanced7 min

