Skip to content

In HTTP authentication, throw exception from provider if there is one.#7100

Merged
merlimat merged 1 commit intoapache:masterfrom
merlimat:pr-1ba17ad2ad
May 29, 2020
Merged

In HTTP authentication, throw exception from provider if there is one.#7100
merlimat merged 1 commit intoapache:masterfrom
merlimat:pr-1ba17ad2ad

Conversation

@merlimat
Copy link
Contributor

Motivation

During HTTP authentication, we try to authenticate against all the configured AuthN providers. If there's an exception in the auth operation, we should bubble back the original exception instead of a generic "Authentication required" which will hide the reason of the failure.

@merlimat merlimat added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label May 29, 2020
@merlimat merlimat added this to the 2.6.0 milestone May 29, 2020
@merlimat merlimat merged commit 09fc647 into apache:master May 29, 2020
@merlimat merlimat deleted the pr-1ba17ad2ad branch May 29, 2020 23:04
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this pull request Jun 1, 2020
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this pull request Jun 1, 2020
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this pull request Jun 12, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants