Class UnifiedServiceImpl.AuthTokenInterceptor

java.lang.Object
io.deephaven.dhservice.grpc.UnifiedServiceImpl.AuthTokenInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor
Enclosing class:
UnifiedServiceImpl

public class UnifiedServiceImpl.AuthTokenInterceptor extends Object implements io.grpc.ServerInterceptor
Scrape authentication information from the header and insert it into the call context, so we can evaluate it at the call site.
  • Constructor Details

    • AuthTokenInterceptor

      public AuthTokenInterceptor()
  • 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 interface io.grpc.ServerInterceptor