Class AuthorizationGrpc.AuthorizationImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    AuthorizationGrpc

    public abstract static class AuthorizationGrpc.AuthorizationImplBase
    extends Object
    implements io.grpc.BindableService
     A generic interface for performing authorization check on incoming
     requests to a networked service.
     
    • Constructor Detail

      • AuthorizationImplBase

        public AuthorizationImplBase()
    • Method Detail

      • check

        public void check​(CheckRequest request,
                          io.grpc.stub.StreamObserver<CheckResponse> responseObserver)
         Performs authorization check based on the attributes associated with the
         incoming request, and returns status `OK` or not `OK`.
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService