v.4.5.0
版本发布时间: 2021-05-09 22:28:09
LogNet/grpc-spring-boot-starter最新发布版本:v.5.1.5(2023-09-27 13:23:08)
:lady_beetle: Bug Fixes
- How to disable Grpc Security #206
:hammer_and_wrench: Migration from 4.4.x
Please use standard @Configuration
instead of @EnableGrpcSecurity
:
Before (4.4.x):
@EnableGrpcSecurity
public class GrpcSecurityConfiguration extends GrpcSecurityConfigurerAdapter{
}
After (4.5.0) :
@Configuration
public class GrpcSecurityConfiguration extends GrpcSecurityConfigurerAdapter{
}
or
@Configuration
public class MyAppConfiguration {
public class GrpcSecurityConfiguration extends GrpcSecurityConfigurerAdapter {
}
@Bean
public GrpcSecurityConfigurerAdapter grpcConfig(){
return new GrpcSecurityConfiguration();
}
}