public class AuthenticationBasic extends Object implements Authentication, EncodedAuthenticationParameterSupport
| Constructor and Description |
|---|
AuthenticationBasic() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,String> authParams) |
void |
configure(String encodedAuthParamString) |
AuthenticationDataProvider |
getAuthData() |
String |
getAuthMethodName() |
void |
start() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticationStage, getAuthData, newRequestHeaderpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String getAuthMethodName()
getAuthMethodName in interface Authenticationpublic AuthenticationDataProvider getAuthData() throws PulsarClientException
getAuthData in interface AuthenticationPulsarClientExceptionpublic void configure(Map<String,String> authParams)
configure in interface Authenticationpublic void configure(String encodedAuthParamString)
configure in interface EncodedAuthenticationParameterSupportpublic void start()
throws PulsarClientException
start in interface AuthenticationPulsarClientExceptionCopyright © 2017–2020 Apache Software Foundation. All rights reserved.