Class QuarkusPulsarKeyStoreAuthentication

java.lang.Object
io.quarkus.pulsar.QuarkusPulsarKeyStoreAuthentication
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable, org.apache.pulsar.client.api.Authentication

public class QuarkusPulsarKeyStoreAuthentication extends Object implements org.apache.pulsar.client.api.Authentication
See Also:
  • Field Details

  • Constructor Details

    • QuarkusPulsarKeyStoreAuthentication

      public QuarkusPulsarKeyStoreAuthentication(io.quarkus.tls.TlsConfiguration configuration)
  • Method Details

    • getAuthMethodName

      public String getAuthMethodName()
      Specified by:
      getAuthMethodName in interface org.apache.pulsar.client.api.Authentication
    • configure

      public void configure(Map<String,String> authParams)
      Specified by:
      configure in interface org.apache.pulsar.client.api.Authentication
    • start

      public void start() throws org.apache.pulsar.client.api.PulsarClientException
      Specified by:
      start in interface org.apache.pulsar.client.api.Authentication
      Throws:
      org.apache.pulsar.client.api.PulsarClientException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • getAuthData

      public org.apache.pulsar.client.api.AuthenticationDataProvider getAuthData() throws org.apache.pulsar.client.api.PulsarClientException
      Specified by:
      getAuthData in interface org.apache.pulsar.client.api.Authentication
      Throws:
      org.apache.pulsar.client.api.PulsarClientException
    • formatCrtFileContents

      public static io.vertx.core.buffer.Buffer formatCrtFileContents(Certificate certificate) throws CertificateEncodingException
      Throws:
      CertificateEncodingException