From 573d0c8b957e6437f0561ec1ec54150f806b0d88 Mon Sep 17 00:00:00 2001 From: DingHao Date: Sun, 22 Dec 2024 21:33:53 +0800 Subject: [PATCH] Remove Autowire annotation on the unique constructor Closes gh-16325 --- ...ReactiveAuthorizationManagerMethodSecurityConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveAuthorizationManagerMethodSecurityConfiguration.java b/config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveAuthorizationManagerMethodSecurityConfiguration.java index 7373d7b8c4e..6436b4e73ff 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveAuthorizationManagerMethodSecurityConfiguration.java +++ b/config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveAuthorizationManagerMethodSecurityConfiguration.java @@ -51,6 +51,7 @@ * Configuration for a {@link ReactiveAuthenticationManager} based Method Security. * * @author Evgeniy Cheban + * @author Ding Hao * @since 5.8 */ @Configuration(value = "_reactiveMethodSecurityConfiguration", proxyBeanMethods = false) @@ -83,7 +84,6 @@ final class ReactiveAuthorizationManagerMethodSecurityConfiguration private final AuthorizationManagerAfterReactiveMethodInterceptor postAuthorizeMethodInterceptor; - @Autowired(required = false) ReactiveAuthorizationManagerMethodSecurityConfiguration(MethodSecurityExpressionHandler expressionHandler, ObjectProvider>> preAuthorizePostProcessor, ObjectProvider>> postAuthorizePostProcessor) {