You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "xusd320 (GitHub)" <gi...@apache.org> on 2019/08/14 05:13:16 UTC

[GitHub] [dubbo-js] xusd320 opened issue #130: zookeep的acl认证支持

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


[ Full content available at: https://github.com/apache/dubbo-js/issues/130 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [dubbo-js] rocky-zh commented on issue #130: zookeep的acl认证支持

Posted by "rocky-zh (GitHub)" <gi...@apache.org>.
真不知道 这个项目到底在干什么,代码活跃度为0

[ Full content available at: https://github.com/apache/dubbo-js/issues/130 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [dubbo-js] xusd320 commented on issue #130: zookeeper的acl认证支持

Posted by "xusd320 (GitHub)" <gi...@apache.org>.
@rocky-zh 开始用的时候体验还不错,但是有些功能欠缺。我现在已经基于这个自己维护一套了


[ Full content available at: https://github.com/apache/dubbo-js/issues/130 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org