Consider alerting applications when both FilterSecurityInterceptor
and AuthorizationFilter
are in the same filter chain
#16213
Labels
FilterSecurityInterceptor
and AuthorizationFilter
are in the same filter chain
#16213
This is almost definitely a misconfiguration. It could be detected in
DefaultFilterChainValidator
.Since Spring Security can "work" with both of these filters, let's simply warn in the logs. Along those lines, there should be two warn messages:
authorizeHttpRequests
.FilterSecurityInterceptor
, warn that it is due for removal and they should migrate as soon as possible toauthorizeHttpRequests
The text was updated successfully, but these errors were encountered: