public class AuthenticationDataToken extends Object implements AuthenticationDataProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_HEADER_NAME |
| Constructor and Description |
|---|
AuthenticationDataToken(Supplier<String> tokenSupplier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandData() |
Set<Map.Entry<String,String>> |
getHttpHeaders() |
boolean |
hasDataForHttp() |
boolean |
hasDataFromCommand() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, getHttpAuthType, getTlsCertificates, getTlsKeyStoreParams, getTlsPrivateKey, getTlsTrustStoreStream, hasDataForTlspublic static final String HTTP_HEADER_NAME
public boolean hasDataForHttp()
hasDataForHttp in interface AuthenticationDataProviderpublic Set<Map.Entry<String,String>> getHttpHeaders()
getHttpHeaders in interface AuthenticationDataProviderpublic boolean hasDataFromCommand()
hasDataFromCommand in interface AuthenticationDataProviderpublic String getCommandData()
getCommandData in interface AuthenticationDataProviderCopyright © 2017–2020 Apache Software Foundation. All rights reserved.