Skip to content

Commit 7ba49c5

Browse files
yu-shibaYuichiro SHIBAYAMA
andauthored
Improve the problem of not being able to start BeanPostProcessorChecker and SecurityAutoConfiguration when disabled. (#257)
Co-authored-by: Yuichiro SHIBAYAMA <[email protected]>
1 parent 93c37e5 commit 7ba49c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/security/GrpcSecurityConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class GrpcSecurityConfiguration {
4444
private GrpcSecurity grpcSecurity;
4545

4646
@Bean
47-
public BeanPostProcessor bypassMethodInterceptorForGrpcMethodInvocation(){
47+
public static BeanPostProcessor bypassMethodInterceptorForGrpcMethodInvocation(){
4848
return new BeanPostProcessor() {
4949
@Override
5050
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {

0 commit comments

Comments
 (0)