Skip to content

Add XML guidance to authorizeRequests deprecation warning#19033

Open
hqqw2h-lgtm wants to merge 1 commit intospring-projects:mainfrom
hqqw2h-lgtm:gh-17259
Open

Add XML guidance to authorizeRequests deprecation warning#19033
hqqw2h-lgtm wants to merge 1 commit intospring-projects:mainfrom
hqqw2h-lgtm:gh-17259

Conversation

@hqqw2h-lgtm
Copy link
Copy Markdown

The deprecation warning for authorizeRequests and FilterSecurityInterceptor now also includes guidance for XML-based configuration, advising users to add use-authorization-manager="true" to their <http> element.

This addresses the feedback in gh-17259 where XML-based configuration users were seeing deprecation warnings with no clear guidance on how to resolve them in XML.

Changes:

  • Updated warning messages in DefaultFilterChainValidator and WebSecurityFilterChainValidator to include XML-specific guidance

Closes gh-17259

The deprecation warning for authorizeRequests and FilterSecurityInterceptor
now also includes guidance for XML-based configuration, advising users to
add use-authorization-manager=true to their http element.

Closes spring-projectsgh-17259

Signed-off-by: hanweiwei <duzielww@163.com>
Signed-off-by: hanweiwei <duzielww@163.com>
@hqqw2h-lgtm hqqw2h-lgtm force-pushed the gh-17259 branch 2 times, most recently from e7d5aa0 to 416890e Compare April 5, 2026 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecation warning about authorizeRequests should also contain XML guidance

3 participants