public class AuthenticationKeyStoreTls extends Object implements Authentication, EncodedAuthenticationParameterSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
KEYSTORE_PATH |
static String |
KEYSTORE_PW |
static String |
KEYSTORE_TYPE |
| Constructor and Description |
|---|
AuthenticationKeyStoreTls() |
AuthenticationKeyStoreTls(String keyStoreType,
String keyStorePath,
String keyStorePassword) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,String> params) |
void |
configure(String paramsString) |
AuthenticationDataProvider |
getAuthData() |
String |
getAuthMethodName() |
static String |
mapToString(Map<String,String> map) |
void |
start() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticationStage, getAuthData, newRequestHeaderpublic static final String KEYSTORE_TYPE
public static final String KEYSTORE_PATH
public static final String KEYSTORE_PW
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String getAuthMethodName()
getAuthMethodName in interface Authenticationpublic AuthenticationDataProvider getAuthData() throws PulsarClientException
getAuthData in interface AuthenticationPulsarClientExceptionpublic void configure(String paramsString)
configure in interface EncodedAuthenticationParameterSupportpublic void configure(Map<String,String> params)
configure in interface Authenticationpublic void start()
throws PulsarClientException
start in interface AuthenticationPulsarClientExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.