This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a change to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/pulsar.git
from 13a8f678ee6 [fix][broker] Fix httpProxyTimeout config (#25223)
new d5d3d701a9b [improve][broker] Add strictAuthMethod to require explicit
authentication method (#25185)
new 0c7a5433b4e [feat][client] oauth2 trustcerts file and timeouts (#24944)
new cd55e99f7e0 [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