emqx-extension-examples icon indicating copy to clipboard operation
emqx-extension-examples copied to clipboard

Does Java gRPC OnClientAuthenticate works?

Open Bevr2020 opened this issue 3 years ago • 1 comments

int v4.3.0 after setting allow_anonymous = false, let java grpc OnClientAuthenticate return true to EMQ X System, but still cannot build tcp links to emqx, why?

Bevr2020 avatar May 26 '21 07:05 Bevr2020

Try to construct reply instance by following codes

            ValuedResponse reply = ValuedResponse.newBuilder()
                                                 .setBoolResult(true)
                                                 .setType(ValuedResponse.ResponsedType.STOP_AND_RETURN)
                                                 .build();

HJianBo avatar May 27 '21 10:05 HJianBo