xusd320 opened a new issue #130: zookeep的acl认证支持
URL: https://github.com/apache/dubbo-js/issues/130
 
 
   
node-zookeeper-client本身是支持zk连接配置权限认证的,详见:https://www.npmjs.com/package/node-zookeeper-client#void-addauthinfoscheme-auth
   dubbo2.js是否能添加相关支持, 在register中传入配置?如下:
   {
     url: 'localhost:3128',
     authInfo: { scheme: 'digest', auth: 'user:123456' }
   }
   
   
在调用zookooper.createClient之后调用zookeeper.addAuthInfo,即可实现认证。目前zookeeper-luester-client以及添加类似的支持了,详见https://github.com/node-modules/zookeeper-cluster-client/blob/ae1fce14da3b35e75e3bd602df31aea8f9b85bf3/lib/data_client.js#L19
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to