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, wait
getHttpAuthType, getTlsCertificates, getTlsPrivateKey, hasDataForTls
public boolean hasDataForHttp()
AuthenticationDataProvider
hasDataForHttp
in interface AuthenticationDataProvider
public Set<Map.Entry<String,String>> getHttpHeaders()
getHttpHeaders
in interface AuthenticationDataProvider
public boolean hasDataFromCommand()
AuthenticationDataProvider
hasDataFromCommand
in interface AuthenticationDataProvider
public String getCommandData()
getCommandData
in interface AuthenticationDataProvider
Copyright © 2017–2018 Apache Software Foundation. All rights reserved.