public class AuthenticationDataBasic extends Object implements AuthenticationDataProvider
| Constructor and Description |
|---|
AuthenticationDataBasic(String userId,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandData() |
Set<Map.Entry<String,String>> |
getHttpHeaders() |
boolean |
hasDataForHttp()
Check if data for HTTP are available.
|
boolean |
hasDataFromCommand()
Check if data from Pulsar protocol are available.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHttpAuthType, getTlsCertificates, getTlsPrivateKey, hasDataForTlspublic boolean hasDataForHttp()
AuthenticationDataProviderhasDataForHttp in interface AuthenticationDataProviderpublic Set<Map.Entry<String,String>> getHttpHeaders()
getHttpHeaders in interface AuthenticationDataProviderpublic boolean hasDataFromCommand()
AuthenticationDataProviderhasDataFromCommand in interface AuthenticationDataProviderpublic String getCommandData()
getCommandData in interface AuthenticationDataProviderCopyright © 2017–2018 Apache Software Foundation. All rights reserved.