The author never implemented it, you'll have to modify the source and add it yourself. It's a bit tricky because the call will always succeed immediately even if the auth actually fails, I recommend doing a simple synchronou exists call immediately after to force the error to flush through if there is one.
C >From my phone On Oct 18, 2011 10:23 PM, "nileader" <[email protected]> wrote: > hi, everyone. > Any one who use https://github.com/sgroschupf/zkclient this. > > In zk original api, there is api: zk.addAuthInfo(authentication_ > type, correctAuthentication.getBytes()); > > but in https://github.com/sgroschupf/zkclient, no. > > who can tell me why? > or who know the author of the zkclient. >
