public class AuthenticationDataAthenz extends Object implements org.apache.pulsar.client.api.AuthenticationDataProvider
| Modifier and Type | Field and Description |
|---|---|
protected String |
httpHeaderName |
protected String |
roleToken |
| Constructor and Description |
|---|
AuthenticationDataAthenz(String roleToken,
String httpHeaderName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandData() |
Set<Map.Entry<String,String>> |
getHttpHeaders() |
boolean |
hasDataForHttp() |
boolean |
hasDataFromCommand() |
public boolean hasDataForHttp()
hasDataForHttp in interface org.apache.pulsar.client.api.AuthenticationDataProviderpublic Set<Map.Entry<String,String>> getHttpHeaders()
getHttpHeaders in interface org.apache.pulsar.client.api.AuthenticationDataProviderpublic boolean hasDataFromCommand()
hasDataFromCommand in interface org.apache.pulsar.client.api.AuthenticationDataProviderpublic String getCommandData()
getCommandData in interface org.apache.pulsar.client.api.AuthenticationDataProviderCopyright © 2017–2021 Apache Software Foundation. All rights reserved.