程序包 | 说明 |
---|---|
org.apache.pulsar.client.api |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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–2019 Apache Software Foundation. All rights reserved.