Package | Description |
---|---|
org.apache.pulsar.client.api |
Pulsar Client API.
|
org.apache.pulsar.client.internal |
Helpers which provide useful functionality for the implementation of Pulsar Client API.
|
Modifier and Type | Method and Description |
---|---|
static Authentication |
AuthenticationFactory.create(String authPluginClassName,
Map<String,String> authParams)
Create an instance of the Authentication-Plugin.
|
static Authentication |
AuthenticationFactory.create(String authPluginClassName,
String authParamsString)
Create an instance of the
Authentication object by using
the plugin class name. |
static Authentication |
AuthenticationFactory.TLS(String certFilePath,
String keyFilePath)
Create an authentication provider for TLS based authentication.
|
static Authentication |
AuthenticationFactory.token(String token)
Create an authentication provider for token based authentication.
|
static Authentication |
AuthenticationFactory.token(Supplier<String> tokenSupplier)
Create an authentication provider for token based authentication.
|
Modifier and Type | Method and Description |
---|---|
ClientBuilder |
ClientBuilder.authentication(Authentication authentication)
Set the authentication provider to use in the Pulsar client instance.
|
Modifier and Type | Method and Description |
---|---|
AutoClusterFailoverBuilder |
AutoClusterFailoverBuilder.secondaryAuthentication(Map<String,Authentication> authentication)
Set secondary authentication.
|
Modifier and Type | Method and Description |
---|---|
Authentication |
PulsarClientImplementationBinding.createAuthentication(String authPluginClassName,
Map<String,String> authParams) |
Authentication |
PulsarClientImplementationBinding.createAuthentication(String authPluginClassName,
String authParamsString) |
Authentication |
PulsarClientImplementationBinding.newAuthenticationTLS(String certFilePath,
String keyFilePath) |
Authentication |
PulsarClientImplementationBinding.newAuthenticationToken(String token) |
Authentication |
PulsarClientImplementationBinding.newAuthenticationToken(Supplier<String> supplier) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.