Skip to content

[improve][broker] Replace authenticate with authenticateAsync - #19313

Merged
lhotari merged 1 commit into
apache:masterfrom
michaeljmarshall:pip-97-more-http-prep
Jan 24, 2023
Merged

[improve][broker] Replace authenticate with authenticateAsync#19313
lhotari merged 1 commit into
apache:masterfrom
michaeljmarshall:pip-97-more-http-prep

Conversation

@michaeljmarshall

Copy link
Copy Markdown
Member

PIP: #12105

Motivation

In order to support AuthenticationProvider implementations that only implement authenticateAsync, we need to replace the call to authenticate with authenticateAsync in the default method definition in AuthenticationProvider#authenticateHttpRequest.

This PR is necessary to get the tests passing in #19292.

I should have implemented #19197 this way from the beginning.

Modifications

  • Replace authenticate with authenticateAsync.

Verifying this change

This PR is covered by the tests in AuthenticationServiceTest.

Does this pull request potentially affect one of the following parts:

This is not a breaking change because the code was only just recently introduced to master branch.

Documentation

  • doc-not-needed

Matching PR in forked repository

PR in forked repository: this is a trivial change, so adding label to test now

@lhotari
lhotari merged commit 02e64d8 into apache:master Jan 24, 2023
@michaeljmarshall
michaeljmarshall deleted the pip-97-more-http-prep branch January 24, 2023 15:55
michaeljmarshall added a commit to michaeljmarshall/pulsar that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants