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

add the ability to set the authMethodName #10408

Closed
Joshhw opened this issue Apr 27, 2021 · 2 comments
Closed

add the ability to set the authMethodName #10408

Joshhw opened this issue Apr 27, 2021 · 2 comments
Labels
lifecycle/stale type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Comments

@Joshhw
Copy link
Contributor

Joshhw commented Apr 27, 2021

Is your enhancement request related to a problem? Please describe.
Many authN/authZ setups use tokens. But the way pulsar relies on determining which authentication class to call requires a user to configure the authMethodName on the Authentication class on the client side. This is fine for java, but for the python client and many others this leads to difficulties and duplicating much of the AuthenticationToken class. If we had the ability to set the authMethodName that would be easier for customized authentication/authorization in Pulsar

Describe the solution you'd like
the ability to change the authMethodName on AuthenticationToken to tell pulsar which custom classes are to be used.

Describe alternatives you've considered
I've been building pulsar-client libraries that extend the AuthenticationToken class.

@Joshhw Joshhw added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Apr 27, 2021
@codelipenghui
Copy link
Contributor

The issue had no activity for 30 days, mark with Stale label.

@tisonkun
Copy link
Member

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.

@tisonkun tisonkun closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

No branches or pull requests

3 participants