From 38d481eba6ee5e2f27e432ff96caeaedcc1ea876 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Tue, 31 May 2022 16:04:26 -0600 Subject: [PATCH] Make Internal Class Package-Private Issue gh-11305 --- .../config/http/AuthorizationFilterParser.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/config/src/main/java/org/springframework/security/config/http/AuthorizationFilterParser.java b/config/src/main/java/org/springframework/security/config/http/AuthorizationFilterParser.java index 0bb17a56f9..e3ac6c915a 100644 --- a/config/src/main/java/org/springframework/security/config/http/AuthorizationFilterParser.java +++ b/config/src/main/java/org/springframework/security/config/http/AuthorizationFilterParser.java @@ -39,7 +39,6 @@ import org.springframework.security.config.Elements; import org.springframework.security.web.access.expression.DefaultHttpSecurityExpressionHandler; import org.springframework.security.web.access.expression.WebExpressionAuthorizationManager; import org.springframework.security.web.access.intercept.AuthorizationFilter; -import org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource; import org.springframework.security.web.access.intercept.RequestAuthorizationContext; import org.springframework.security.web.access.intercept.RequestMatcherDelegatingAuthorizationManager; import org.springframework.security.web.util.matcher.AnyRequestMatcher; @@ -47,13 +46,7 @@ import org.springframework.security.web.util.matcher.RequestMatcher; import org.springframework.util.StringUtils; import org.springframework.util.xml.DomUtils; -/** - * Allows for convenient creation of a {@link FilterInvocationSecurityMetadataSource} bean - * for use with a FilterSecurityInterceptor. - * - * @author Luke Taylor - */ -public class AuthorizationFilterParser implements BeanDefinitionParser { +class AuthorizationFilterParser implements BeanDefinitionParser { private static final String ATT_USE_EXPRESSIONS = "use-expressions"; @@ -87,7 +80,7 @@ public class AuthorizationFilterParser implements BeanDefinitionParser { return filter; } - public String getAuthorizationManagerRef() { + String getAuthorizationManagerRef() { return this.authorizationManagerRef; }