Typical Stateless JWT Filter Chain

  1. SecurityContextPersistenceFilter
  2. CorsFilter
  3. CsrfFilter
  4. BearerTokenAuthenticationFilter
  5. ExceptionTranslationFilter
  6. FilterSecurityInterceptor

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.