Package org.apache.pulsar.client.api.v5.auth
package org.apache.pulsar.client.api.v5.auth
Authentication and encryption types.
Provides pluggable authentication via Authentication
and convenience factories in AuthenticationFactory,
as well as end-to-end encryption support via
PublicKeyProvider (producer side) and
PrivateKeyProvider (consumer side).
For local PEM-file-backed setups, use PemFileKeyProvider.
-
ClassDescriptionPluggable authentication provider for Pulsar clients.Provides authentication credentials for different transport mechanisms.Factory for creating common authentication providers.Action a consumer takes when message decryption fails (e.g.Convenience interface for implementations that serve both public keys (for producer-side encryption) and private keys (for consumer-side decryption) — for example, a single PEM-file-backed key store used by both sides of an in-process round trip.A single encryption / decryption key returned by a
PublicKeyProviderorPrivateKeyProvider.Batteries-included key provider that loads PEM-encoded keys from local files.Builder forPemFileKeyProvider.Consumer-side SPI: load a private key by name for end-to-end message decryption.Action a producer takes when message encryption fails (e.g.Producer-side SPI: load a public key by name for end-to-end message encryption.