Closed
Description
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:
- If they are using both filters, warn that this is probably a misconfiguration and they should migrate as soon as possible to
authorizeHttpRequests
. - If they are only using
FilterSecurityInterceptor
, warn that it is due for removal and they should migrate as soon as possible toauthorizeHttpRequests