-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
kerberos: authentication between client and broker #3821
Conversation
@eolivelli Thanks for the comments in #3658. This is the second version. |
@jiazhai I will take a look |
### --- SASL Authentication Provider --- ### | ||
|
||
# Whether Use SASL Authentication or not. | ||
# TODO: used to bypass web resource check. will remove it after implementation the support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @eolivelli , yes, there is a planed work.
current step is for client <-> broker. will add the web-resource/http support in the TODO issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
by this parameter we could bypass the web-resource/http checking temporary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
I really would like to see this feature usable in production (released)
It is the only gap from Kafka for my usecases
Fixes #3652
Motivation
Currently both Zookeeper and BookKeeper could be secured by using Kerberos, It would be good to support Kerberos in Pulsar Broker and Client.
This is the sub-task for issue in #3491 to support Kerberos in Pulsar Broker and Client.
Will add proxy and web resource support in following prs.
The Kerberos authentication is similar to that in Zookeeper and BookKeeper, which leverage SASL and GSSAPI, so reused some of the code there.
PR #3658 is the first version of PR before #3677 .
Changes
provide both client and broker side support for authentication api;
add unit test.