SecurityContextPersistenceFilter
SecurityContext
from the session, but for stateless JWT, it skips session management as no session is stored.CorsFilter
CsrfFilter
BearerTokenAuthenticationFilter
Authorization
header, validates it, and sets the Authentication
object in the SecurityContext
.ExceptionTranslationFilter
FilterSecurityInterceptor
SecurityFilterChain
).A request arrives through the service to the application. The FilterChain is the logic that intercepts this request, and first performs a chain of security checks before the request can approach the endpoints.