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

use originalAuthMethod on originalAuthChecker #6870

Merged
merged 3 commits into from May 9, 2020

Conversation

KannarFr
Copy link
Contributor

@KannarFr KannarFr commented May 4, 2020

Fixes #6873

Use originalAuthMethod on originalAuthProvider check.

@KannarFr KannarFr changed the title fix use originalAuthMethod on originalAuthChecker May 4, 2020
@KannarFr KannarFr force-pushed the fix-original-auth-method-usage branch from 81f6718 to 14064e5 Compare May 5, 2020 15:09
@KannarFr
Copy link
Contributor Author

KannarFr commented May 6, 2020

@sijie can you review it? Do it cover all cases?

@jiazhai
Copy link
Member

jiazhai commented May 6, 2020

@KannarFr Thanks for the fix. Seems there is no test cover this case, Would you please also help provide a test for this case?

@jiazhai
Copy link
Member

jiazhai commented May 6, 2020

@sijie can you review it? Do it cover all cases?

This is the only place that I can see.

@KannarFr
Copy link
Contributor Author

KannarFr commented May 6, 2020

@jiazhai @sijie We have an interesting issue, the original auth method & auth data are empty. Only the original principal is filled.

@KannarFr
Copy link
Contributor Author

KannarFr commented May 6, 2020

Nvm, missed: forwardAuthorizationCredentials=true.

@sijie sijie merged commit 8381371 into apache:master May 9, 2020
jiazhai pushed a commit that referenced this pull request May 12, 2020
Fixes #6873

Use originalAuthMethod on originalAuthProvider check.
(cherry picked from commit 8381371)
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this pull request May 27, 2020
Fixes apache#6873

Use originalAuthMethod on originalAuthProvider check.
addisonj pushed a commit to instructure/pulsar that referenced this pull request Jun 12, 2020
Fixes apache#6873

Use originalAuthMethod on originalAuthProvider check.
(cherry picked from commit 8381371)
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Fixes apache#6873

Use originalAuthMethod on originalAuthProvider check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong auth provider check on broker's originalRole auth check
3 participants