Andy Wilkinson
05c877d61c
Only apply path to default PathPatternRequestMatcher.Builder
...
Prior to this commit, if the user defined a custom
PathPatternRequestMatcher.Builder, security auto-configuration would
still set its base path to matcher the dispatcher servlet path.
We need to give the user more control in this situation.
If the user has defined a custom builder bean it should have a name
other than pathPatternRequestMatcherBuilder. This different name is
required to prevent a clash with the @Fallback bean that's defined
by Security's AuthorizationConfiguration. This commit changes the
bean post-processor so that it will only apply to a bean named
pathPatternRequestMatcherBuilder. By using a different name (which
is necessary unless overriding is enabled) to use can take complete
control of the path pattern request matcher builder.
See gh-45492
2025-07-21 10:57:42 +01:00
..
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-17 12:46:07 +02:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-17 15:13:50 +02:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-16 14:23:36 +02:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-14 10:06:16 +02:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-21 10:57:42 +01:00
2025-07-18 09:45:44 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-11 13:49:41 +01:00
2025-07-16 14:23:36 +02:00
2025-07-10 17:54:08 -07:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-14 10:21:44 +02:00
2025-07-11 13:49:41 +01:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00
2025-07-10 17:54:08 -07:00