AuthValue - authentication value typepublic abstract class AbstractSaslProtocol<AuthValue> extends AbstractAccountProtocol implements EventListening
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractSaslProtocol.Listener |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSaslProtocol(Client client,
String accountName,
AuthValue authValue,
String saslType)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAuthentication()
Gets a String for
AbstractAccountProtocol.startAuthentication(). |
protected abstract String |
getAuthLine()
Gets the info to base64 encode in the first AUTHENTICATE message.
|
protected AuthValue |
getAuthValue()
Gets the authentication value, be it a password or key.
|
Object |
getEventListener()
Gets the object for listening.
|
protected void |
setAuthValue(AuthValue authValue)
Sets the authentication value.
|
getAccountName, getClient, setAccountName, startAuthentication, toString@Nonnull protected final String getAuthentication()
AbstractAccountProtocolAbstractAccountProtocol.startAuthentication().getAuthentication in class AbstractAccountProtocol@Nonnull public Object getEventListener()
EventListeninggetEventListener in interface EventListening@Nonnull protected final AuthValue getAuthValue()
protected final void setAuthValue(@Nonnull AuthValue authValue)
authValue - the authentication valueIllegalArgumentException - if the value is nullCopyright © 2013–2019 Kitteh. All rights reserved.