Rename servletPath to basePath

Closes gh-16765
This commit is contained in:
Josh Cummings
2025-03-21 12:00:43 -06:00
parent c53bf2befe
commit 86599afd43
3 changed files with 32 additions and 28 deletions

View File

@@ -1364,7 +1364,7 @@ public class AuthorizeHttpRequestsConfigurerTests {
@Bean
SecurityFilterChain security(HttpSecurity http) throws Exception {
PathPatternRequestMatcher.Builder mvc = PathPatternRequestMatcher.withDefaults().servletPath("/mvc");
PathPatternRequestMatcher.Builder mvc = PathPatternRequestMatcher.withDefaults().basePath("/mvc");
// @formatter:off
http
.authorizeHttpRequests((authorize) -> authorize