From 470e2c5c97bef56028b5b66123a3d78498f78661 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Wed, 17 Apr 2024 16:59:28 -0600 Subject: [PATCH] Address Build Issues Issue gh-14837 --- .../RequestMatcherDelegatingAuthorizationManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/main/java/org/springframework/security/web/access/intercept/RequestMatcherDelegatingAuthorizationManager.java b/web/src/main/java/org/springframework/security/web/access/intercept/RequestMatcherDelegatingAuthorizationManager.java index 4a32e82139f..85bc12fce5a 100644 --- a/web/src/main/java/org/springframework/security/web/access/intercept/RequestMatcherDelegatingAuthorizationManager.java +++ b/web/src/main/java/org/springframework/security/web/access/intercept/RequestMatcherDelegatingAuthorizationManager.java @@ -30,6 +30,7 @@ import org.springframework.security.authorization.AuthorizationDecision; import org.springframework.security.authorization.AuthorizationManager; import org.springframework.security.core.Authentication; +import org.springframework.security.web.util.UrlUtils; import org.springframework.security.web.util.matcher.RequestMatcher; import org.springframework.security.web.util.matcher.RequestMatcher.MatchResult; import org.springframework.security.web.util.matcher.RequestMatcherEntry; @@ -76,7 +77,8 @@ public AuthorizationDecision check(Supplier authentication, Http if (matchResult.isMatch()) { AuthorizationManager manager = mapping.getEntry(); if (this.logger.isTraceEnabled()) { - this.logger.trace(LogMessage.format("Checking authorization on %s using %s", requestLine(request), manager)); + this.logger.trace( + LogMessage.format("Checking authorization on %s using %s", requestLine(request), manager)); } return manager.check(authentication, new RequestAuthorizationContext(request, matchResult.getVariables()));