Package | Description |
---|---|
org.apache.pulsar.client.api |
Pulsar Client API.
|
Modifier and Type | Method and Description |
---|---|
default AuthenticationDataProvider |
Authentication.getAuthData() |
default AuthenticationDataProvider |
Authentication.getAuthData(String brokerHostName)
Get/Create an authentication data provider which provides the data that this client will be sent to the broker.
|
Modifier and Type | Method and Description |
---|---|
default void |
Authentication.authenticationStage(String requestUrl,
AuthenticationDataProvider authData,
Map<String,String> previousResHeaders,
CompletableFuture<Map<String,String>> authFuture)
An authentication Stage.
|
default Set<Map.Entry<String,String>> |
Authentication.newRequestHeader(String hostName,
AuthenticationDataProvider authData,
Map<String,String> previousResHeaders)
Add an authenticationStage that will complete along with authFuture.
|
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.