Class AuthenticationKeyStoreTls
java.lang.Object
org.apache.pulsar.client.impl.auth.AuthenticationKeyStoreTls
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
,Authentication
,EncodedAuthenticationParameterSupport
public class AuthenticationKeyStoreTls
extends Object
implements Authentication, EncodedAuthenticationParameterSupport
This plugin requires these parameters: keyStoreType, keyStorePath, and keyStorePassword.
This parameter will construct a AuthenticationDataProvider
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAuthenticationKeyStoreTls
(String keyStoreType, String keyStorePath, String keyStorePassword) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pulsar.client.api.Authentication
authenticationStage, getAuthData, newRequestHeader
-
Field Details
-
KEYSTORE_TYPE
- See Also:
-
KEYSTORE_PATH
- See Also:
-
KEYSTORE_PW
- See Also:
-
-
Constructor Details
-
AuthenticationKeyStoreTls
public AuthenticationKeyStoreTls() -
AuthenticationKeyStoreTls
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getAuthMethodName
- Specified by:
getAuthMethodName
in interfaceAuthentication
-
getAuthData
- Specified by:
getAuthData
in interfaceAuthentication
- Throws:
PulsarClientException
-
configure
- Specified by:
configure
in interfaceEncodedAuthenticationParameterSupport
-
configure
- Specified by:
configure
in interfaceAuthentication
-
start
- Specified by:
start
in interfaceAuthentication
- Throws:
PulsarClientException
-
mapToString
-