public class SASLPlainMechanism extends SASLMechanism
| Constructor and Description |
|---|
SASLPlainMechanism(SASLAuthentication saslAuthentication) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getAuthenticationText(java.lang.String username,
java.lang.String host,
java.lang.String password)
Returns the authentication text to include in the initial auth stanza
or null if nothing should be added.
|
protected java.lang.String |
getChallengeResponse(byte[] bytes)
Returns the response text to send answering the challenge sent by the server.
|
protected java.lang.String |
getName()
Returns the common name of the SASL mechanism.
|
authenticate, challengeReceived, getSASLAuthenticationpublic SASLPlainMechanism(SASLAuthentication saslAuthentication)
protected java.lang.String getName()
SASLMechanismgetName in class SASLMechanismprotected java.lang.String getAuthenticationText(java.lang.String username,
java.lang.String host,
java.lang.String password)
SASLMechanismgetAuthenticationText in class SASLMechanismusername - the username of the user being authenticated.host - the hostname where the user account resides.password - the password of the user.protected java.lang.String getChallengeResponse(byte[] bytes)
SASLMechanismgetChallengeResponse in class SASLMechanismbytes - the challenge sent by the server.Copyright © 2003 Jive Software.