From afb0c598759207e64f0dd89f818a0e863b2fd521 Mon Sep 17 00:00:00 2001 From: Josh Cummings <3627351+jzheaux@users.noreply.github.com> Date: Mon, 15 Dec 2025 08:58:04 -0700 Subject: [PATCH 1/2] Add request-matcher XML Migration Steps Closes gh-18211 --- docs/modules/ROOT/pages/migration-7/web.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/modules/ROOT/pages/migration-7/web.adoc b/docs/modules/ROOT/pages/migration-7/web.adoc index 248b719c0e..cab2277313 100644 --- a/docs/modules/ROOT/pages/migration-7/web.adoc +++ b/docs/modules/ROOT/pages/migration-7/web.adoc @@ -186,6 +186,19 @@ Xml:: This will tell the Spring Security DSL to use `PathPatternRequestMatcher` for all request matchers that it constructs. In the event that you are directly constructing an object (as opposed to having the DSL construct it) that has a `setRequestMatcher` method. you should also proactively specify a `PathPatternRequestMatcher` there as well. +In XML, you do this by using `request-matcher="path"` instead of `request-matcher="ant"` or `request-matcher="mvc"` like so: + +[tabs] +====== +Xml:: ++ +[source,xml,role="secondary"] +---- + + + +---- +====== === Migrate `exitUserUrl` and `switchUserUrl` Request Matchers in `SwitchUserFilter` From 765abe534eb71b1635518d9211f011bcff284192 Mon Sep 17 00:00:00 2001 From: Josh Cummings <3627351+jzheaux@users.noreply.github.com> Date: Mon, 15 Dec 2025 09:02:00 -0700 Subject: [PATCH 2/2] Add Missing Migration Pages to Side Navigation Closes gh-18313 --- docs/modules/ROOT/nav.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 09130e387e..55e485a05e 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -7,7 +7,9 @@ ** xref:migration-7/authorization.adoc[Authorization] ** xref:migration-7/configuration.adoc[Configuration] ** xref:migration-7/ldap.adoc[LDAP] +** xref:migration-7/messaging.adoc[Messaging] ** xref:migration-7/oauth2.adoc[OAuth 2.0] +** xref:migration-7/saml2.adoc[SAML 2.0] ** xref:migration-7/web.adoc[Web] * xref:migration/index.adoc[Migrating to 6] * xref:getting-spring-security.adoc[Getting Spring Security]