public class AuthenticationDisabled extends Object implements Authentication, EncodedAuthenticationParameterSupport
| Modifier and Type | Field and Description |
|---|---|
static AuthenticationDisabled |
INSTANCE |
protected AuthenticationDataProvider |
nullData |
| Constructor and Description |
|---|
AuthenticationDisabled() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,String> authParams)
Deprecated.
|
void |
configure(String encodedAuthParamString) |
AuthenticationDataProvider |
getAuthData() |
String |
getAuthMethodName() |
void |
start() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticationStage, getAuthData, newRequestHeaderprotected final AuthenticationDataProvider nullData
public static final AuthenticationDisabled INSTANCE
public String getAuthMethodName()
getAuthMethodName in interface Authenticationpublic AuthenticationDataProvider getAuthData() throws PulsarClientException
getAuthData in interface AuthenticationPulsarClientExceptionpublic void configure(String encodedAuthParamString)
configure in interface EncodedAuthenticationParameterSupport@Deprecated public void configure(Map<String,String> authParams)
configure in interface Authenticationpublic void start()
throws PulsarClientException
start in interface AuthenticationPulsarClientExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.