From e058b559b8507d52c6ded3b8bf39eb059a20a65e Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Mon, 18 Dec 2023 15:18:09 -0700 Subject: [PATCH] Polish Method Security Eager-Loading Issue gh-11596 --- .../configuration/ReactiveMethodSecurityConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveMethodSecurityConfiguration.java b/config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveMethodSecurityConfiguration.java index a94be2a84b..7d1d241f16 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveMethodSecurityConfiguration.java +++ b/config/src/main/java/org/springframework/security/config/annotation/method/configuration/ReactiveMethodSecurityConfiguration.java @@ -82,7 +82,7 @@ class ReactiveMethodSecurityConfiguration implements ImportAware { @Bean @Role(BeanDefinition.ROLE_INFRASTRUCTURE) - DefaultMethodSecurityExpressionHandler methodSecurityExpressionHandler( + static DefaultMethodSecurityExpressionHandler methodSecurityExpressionHandler( ReactiveMethodSecurityConfiguration configuration) { DefaultMethodSecurityExpressionHandler handler = new DefaultMethodSecurityExpressionHandler(); if (configuration.grantedAuthorityDefaults != null) {