public class SaslPlain extends AbstractSaslProtocol<String> implements Password
AbstractSaslProtocol.Listener| Constructor and Description |
|---|
SaslPlain(Client client,
String accountName,
String password)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAuthLine()
Gets the info to base64 encode in the first AUTHENTICATE message.
|
String |
getPassword()
Gets the password.
|
void |
setPassword(String password)
Sets the password to use.
|
getAuthentication, getAuthValue, getEventListener, setAuthValuegetAccountName, getClient, setAccountName, startAuthentication, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstartAuthenticationgetClient@Nonnull protected String getAuthLine()
AbstractSaslProtocolgetAuthLine in class AbstractSaslProtocol<String>@Nonnull public String getPassword()
PasswordgetPassword in interface Passwordpublic void setPassword(@Nonnull String password)
PasswordsetPassword in interface Passwordpassword - passwordCopyright © 2013–2019 Kitteh. All rights reserved.