Class AuthenticationBasic
java.lang.Object
org.apache.pulsar.client.impl.auth.AuthenticationBasic
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
,org.apache.pulsar.client.api.Authentication
,org.apache.pulsar.client.api.EncodedAuthenticationParameterSupport
public class AuthenticationBasic
extends Object
implements org.apache.pulsar.client.api.Authentication, org.apache.pulsar.client.api.EncodedAuthenticationParameterSupport
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pulsar.client.api.Authentication
authenticationStage, getAuthData, newRequestHeader
-
Constructor Details
-
AuthenticationBasic
public AuthenticationBasic()
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getAuthMethodName
- Specified by:
getAuthMethodName
in interfaceorg.apache.pulsar.client.api.Authentication
-
getAuthData
public org.apache.pulsar.client.api.AuthenticationDataProvider getAuthData() throws org.apache.pulsar.client.api.PulsarClientException- Specified by:
getAuthData
in interfaceorg.apache.pulsar.client.api.Authentication
- Throws:
org.apache.pulsar.client.api.PulsarClientException
-
configure
- Specified by:
configure
in interfaceorg.apache.pulsar.client.api.Authentication
-
configure
- Specified by:
configure
in interfaceorg.apache.pulsar.client.api.EncodedAuthenticationParameterSupport
-
start
public void start() throws org.apache.pulsar.client.api.PulsarClientException- Specified by:
start
in interfaceorg.apache.pulsar.client.api.Authentication
- Throws:
org.apache.pulsar.client.api.PulsarClientException
-