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, setAuthValue
getAccountName, getClient, setAccountName, startAuthentication, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
startAuthentication
getClient
@Nonnull protected String getAuthLine()
AbstractSaslProtocol
getAuthLine
in class AbstractSaslProtocol<String>
@Nonnull public String getPassword()
Password
getPassword
in interface Password
public void setPassword(@Nonnull String password)
Password
setPassword
in interface Password
password
- passwordCopyright © 2013–2019 Kitteh. All rights reserved.