Skip to content

Commit bd7bd77

Browse files
committed
Remove Autowire annotation on the unique constructor
Closes gh-16325
1 parent fd267df commit bd7bd77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveAuthorizationManagerMethodSecurityConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -51,6 +51,7 @@
5151
* Configuration for a {@link ReactiveAuthenticationManager} based Method Security.
5252
*
5353
* @author Evgeniy Cheban
54+
* @author Ding Hao
5455
* @since 5.8
5556
*/
5657
@Configuration(value = "_reactiveMethodSecurityConfiguration", proxyBeanMethods = false)
@@ -83,7 +84,6 @@ final class ReactiveAuthorizationManagerMethodSecurityConfiguration
8384

8485
private final AuthorizationManagerAfterReactiveMethodInterceptor postAuthorizeMethodInterceptor;
8586

86-
@Autowired(required = false)
8787
ReactiveAuthorizationManagerMethodSecurityConfiguration(MethodSecurityExpressionHandler expressionHandler,
8888
ObjectProvider<ObjectPostProcessor<ReactiveAuthorizationManager<MethodInvocation>>> preAuthorizePostProcessor,
8989
ObjectProvider<ObjectPostProcessor<ReactiveAuthorizationManager<MethodInvocationResult>>> postAuthorizePostProcessor) {

0 commit comments

Comments
 (0)