Prevent using both authorizeRequests
and authorizeHttpRequests
#10573
Labels
Milestone
authorizeRequests
and authorizeHttpRequests
#10573
When users configure the
SecurityFilterChain
they can opt to useauthorizeHttpRequests
orauthorizeRequests
. Using both configurations does not make sense since they do the same thing.Using
authorizeHttpRequests
is preferable now, sinceauthorizeRequests
is gonna be deprecated.We should ensure that only one of them is configured inside the filter chain.
The text was updated successfully, but these errors were encountered: