This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a change to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
from 3b39c7b52ef [fix][broker] Fix httpProxyTimeout config (#25223)
new 27e34f666d0 [improve][broker] Add strictAuthMethod to require explicit
authentication method (#25185)
new f8827bd9f00 [feat][client] oauth2 trustcerts file and timeouts (#24944)
new 705a99d1109 [improve][client] Make authorization server metadata path
configurable in AuthenticationOAuth2 (#25052)
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../apache/pulsar/broker/ServiceConfiguration.java | 8 +
.../authentication/AuthenticationService.java | 8 +
.../broker/auth/AuthenticationServiceTest.java | 30 ++++
.../auth/oauth2/AuthenticationFactoryOAuth2.java | 179 +++++++++++++++++++--
.../AuthenticationOAuth2StandardAuthzServer.java | 70 ++++++++
.../impl/auth/oauth2/ClientCredentialsFlow.java | 113 +++++++------
.../pulsar/client/impl/auth/oauth2/FlowBase.java | 80 ++++++++-
.../oauth2/protocol/DefaultMetadataResolver.java | 118 ++++++++------
.../impl/auth/oauth2/protocol/TokenClient.java | 59 +++----
.../oauth2/AuthenticationFactoryOAuth2Test.java | 74 +++++++++
...uthenticationOAuth2StandardAuthzServerTest.java | 50 ++++++
.../impl/auth/oauth2/AuthenticationOAuth2Test.java | 43 ++++-
12 files changed, 674 insertions(+), 158 deletions(-)
create mode 100644
pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/AuthenticationOAuth2StandardAuthzServer.java
create mode 100644
pulsar-client/src/test/java/org/apache/pulsar/client/impl/auth/oauth2/AuthenticationFactoryOAuth2Test.java
create mode 100644
pulsar-client/src/test/java/org/apache/pulsar/client/impl/auth/oauth2/AuthenticationOAuth2StandardAuthzServerTest.java