Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support authentication for zookeeper/etcd #1330

Merged
merged 4 commits into from
Sep 17, 2017

Conversation

fancy-rabbit
Copy link
Contributor

this PR add support for authentication of zookeeper/etcd.

when coordinator=filesystem, authentication is skipped.
when coordinator=zookeeper, the client will addauth after connected, and replace the worldACL with the corresponding digestACL.
when coordinator=etcd, the client will authenticate with the specified username/password, permissions should be granted manually with etcdctl.

but i'm not familiar with etcd, thus the etcd part is not well-tested.

please review it.
thanks very much.

@spinlock
Copy link
Member

@fancy-rabbit Thank you very much for your contribution. I'll review and test this PR later !!

@delgyd
Copy link

delgyd commented Sep 4, 2017

I would like to ask for a long time to issue a version that supports zookeeper auth

@spinlock spinlock merged commit 3adf407 into CodisLabs:release3.2 Sep 17, 2017
@fancy-rabbit fancy-rabbit deleted the coordinator_auth branch September 17, 2017 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants