Package io.deephaven.grpc
Class AbstractMtlsClientCertificateInterceptor
java.lang.Object
io.deephaven.grpc.AbstractMtlsClientCertificateInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor
- Direct Known Subclasses:
JettyCertInterceptor
public abstract class AbstractMtlsClientCertificateInterceptor
extends Object
implements io.grpc.ServerInterceptor
Base class for server implementations to offer their own hook to read the current certificates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <ReqT,
RespT>
Optional<List<X509Certificate>>getTransportCertificates
(io.grpc.ServerCall<ReqT, RespT> call) <ReqT,
RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall
(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next)
-
Constructor Details
-
AbstractMtlsClientCertificateInterceptor
public AbstractMtlsClientCertificateInterceptor()
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next) - Specified by:
interceptCall
in interfaceio.grpc.ServerInterceptor
-
getTransportCertificates
protected abstract <ReqT,RespT> Optional<List<X509Certificate>> getTransportCertificates(io.grpc.ServerCall<ReqT, RespT> call)
-