Skip to content

Commit 573d0c8

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)