类 AuthenticationTls
java.lang.Object
org.apache.pulsar.client.impl.auth.AuthenticationTls
- 所有已实现的接口:
Closeable,Serializable,AutoCloseable,Authentication,EncodedAuthenticationParameterSupport
public class AuthenticationTls
extends Object
implements Authentication, EncodedAuthenticationParameterSupport
This plugin requires these parameters
tlsCertFile: A file path for a client certificate. tlsKeyFile: A file path for a client private key.
- 另请参阅:
-
构造器概要
构造器构造器说明AuthenticationTls(String certFilePath, String keyFilePath) AuthenticationTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider) AuthenticationTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider, Supplier<ByteArrayInputStream> trustStoreStreamProvider) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.pulsar.client.api.Authentication
authenticationStage, getAuthData, newRequestHeader
-
构造器详细资料
-
AuthenticationTls
public AuthenticationTls() -
AuthenticationTls
-
AuthenticationTls
public AuthenticationTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider) -
AuthenticationTls
public AuthenticationTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider, Supplier<ByteArrayInputStream> trustStoreStreamProvider)
-
-
方法详细资料
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-
getAuthMethodName
- 指定者:
getAuthMethodName在接口中Authentication
-
getAuthData
- 指定者:
getAuthData在接口中Authentication- 抛出:
PulsarClientException
-
configure
-
configure
已过时。- 指定者:
configure在接口中Authentication
-
start
- 指定者:
start在接口中Authentication- 抛出:
PulsarClientException
-
getCertFilePath
-
getKeyFilePath
-