public class SaslPlain extends AbstractAccountSaslProtocol
AbstractSaslProtocol.Listener
Constructor and Description |
---|
SaslPlain(@NonNull Client client,
@NonNull String accountName,
@NonNull String password)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
protected @NonNull String |
getAuthLine()
Gets the info to base64 encode in the first AUTHENTICATE message.
|
protected void |
toString(ToStringer stringer)
Adds data to toString.
|
getAccountName
getAuthentication, getEventListener
getClient, startAuthentication, toString
protected @NonNull String getAuthLine()
AbstractSaslProtocol
getAuthLine
in class AbstractSaslProtocol
protected void toString(ToStringer stringer)
AbstractAuthProtocol
toString
in class AbstractAccountSaslProtocol
stringer
- stringerCopyright © 2013–2021 Kitteh. All rights reserved.