Spring Boot starter module for gRPC framework.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by jvmlet over 3 years ago
Published by jvmlet over 3 years ago
Published by jvmlet over 3 years ago
4.5.1
from maven central #217 - fixed by setting jar classifier to empty string :Gradle :
dependencies {
compile 'io.github.lognet:grpc-spring-boot-starter:4.5.2'
}
Maven :
<dependency>
<groupId>io.github.lognet</groupId>
<artifactId>grpc-spring-boot-starter</artifactId>
<version>4.5.2</version>
</dependency>
Published by jvmlet over 3 years ago
Published by jvmlet over 3 years ago
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();
}
}
Published by jvmlet over 3 years ago
Published by jvmlet over 3 years ago
Published by jvmlet over 3 years ago
Published by jvmlet over 3 years ago
Published by jvmlet over 3 years ago
PERMISSION_DENIED
(instead of UNAUTHENTICATED
) when user has insufficient privileges to invoke gRPC method.1.35.0
Published by jvmlet almost 4 years ago
2.4.1
2020.0.0
Published by jvmlet almost 4 years ago
address
tag to Micrometer's timer
Published by jvmlet almost 4 years ago
Published by jvmlet almost 4 years ago
Published by jvmlet almost 4 years ago
Published by jvmlet almost 4 years ago
authenticate only
when role list is empty , @Secured({})
(credits to @CleverUnderDog)Published by jvmlet almost 4 years ago
Published by jvmlet almost 4 years ago
@Secured
annotation is enabled by default.io.grpc:grpc-netty-shaded
instead of io.grpc:grpc-netty
as transitive dependency (fixes #108). +io.grpc.netty
package should be imported from io.grpc.netty.shaded.io.grpc.netty
Published by jvmlet almost 4 years ago
@Secured
annotation (see #159)Published by jvmlet about 4 years ago
Authentication
details in secured method implementation.