@GrpcGlobalServerInterceptor public class AuthenticatingServerInterceptor extends java.lang.Object implements io.grpc.ServerInterceptor
read the credentials from the client and
authenticate them.| Constructor and Description |
|---|
AuthenticatingServerInterceptor(org.springframework.security.authentication.AuthenticationManager authenticationManager,
GrpcAuthenticationReader authenticationReader) |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next) |
@Autowired
public AuthenticatingServerInterceptor(org.springframework.security.authentication.AuthenticationManager authenticationManager,
GrpcAuthenticationReader authenticationReader)