Package io.quarkus.pulsar
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQuarkusPulsarKeyStoreAuthentication(io.quarkus.tls.TlsConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidstatic io.vertx.core.buffer.BufferformatCrtFileContents(Certificate certificate) org.apache.pulsar.client.api.AuthenticationDataProvidervoidstart()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.client.api.Authentication
authenticationStage, getAuthData, newRequestHeader
-
Field Details
-
BEGIN_CERT
- See Also:
-
END_CERT
- See Also:
-
LINE_SEPARATOR
-
-
Constructor Details
-
QuarkusPulsarKeyStoreAuthentication
public QuarkusPulsarKeyStoreAuthentication(io.quarkus.tls.TlsConfiguration configuration)
-
-
Method Details
-
getAuthMethodName
- Specified by:
getAuthMethodNamein interfaceorg.apache.pulsar.client.api.Authentication
-
configure
- Specified by:
configurein interfaceorg.apache.pulsar.client.api.Authentication
-
start
public void start() throws org.apache.pulsar.client.api.PulsarClientException- Specified by:
startin interfaceorg.apache.pulsar.client.api.Authentication- Throws:
org.apache.pulsar.client.api.PulsarClientException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getAuthData
public org.apache.pulsar.client.api.AuthenticationDataProvider getAuthData() throws org.apache.pulsar.client.api.PulsarClientException- Specified by:
getAuthDatain interfaceorg.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
-