Skip to content

Prevent using both authorizeRequests and authorizeHttpRequests #10573

@marcusdacoregio

Description

@marcusdacoregio

When users configure the SecurityFilterChain they can opt to use authorizeHttpRequests or authorizeRequests. Using both configurations does not make sense since they do the same thing.

Using authorizeHttpRequests is preferable now, since authorizeRequests is gonna be deprecated.

We should ensure that only one of them is configured inside the filter chain.

Metadata

Metadata

Labels

in: webAn issue in web modules (web, webmvc)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions