Class IdentityInterceptor

java.lang.Object
io.camunda.zeebe.gateway.interceptors.impl.IdentityInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor

public final class IdentityInterceptor extends Object implements io.grpc.ServerInterceptor
  • Field Details

    • AUTHORIZED_TENANTS_KEY

      public static final io.grpc.Context.Key<List<String>> AUTHORIZED_TENANTS_KEY
  • Constructor Details

    • IdentityInterceptor

      public IdentityInterceptor(IdentityCfg config, MultiTenancyCfg multiTenancy)
    • IdentityInterceptor

      public IdentityInterceptor(io.camunda.identity.sdk.Identity identity, MultiTenancyCfg multiTenancy)
  • 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