@Override
        public Message callBlockingMethod(MethodDescriptor md, RpcController controller,
          Message param) throws ServiceException {
          MethodDescriptor methodDescriptor =
            service.getDescriptorForType().findMethodByName(md.getName());
          Message request = service.getRequestPrototype(methodDescriptor);
          // TODO: Convert rpcController
          Message response = null;
          try {
            response = service.callBlockingMethod(methodDescriptor, null, request);
          } catch (ServiceException e) {
            throw new org.apache.hbase.thirdparty.com.google.protobuf.ServiceException(e);
          }
          return null;// Convert 'response'.
        }
Basic server process for RPC authentication testing
hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/TestTokenAuthentication.java