public class SASLAnonymous extends SASLMechanism
Constructor and Description |
---|
SASLAnonymous(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, getSASLAuthentication
public SASLAnonymous(SASLAuthentication saslAuthentication)
protected java.lang.String getName()
SASLMechanism
getName
in class SASLMechanism
protected java.lang.String getAuthenticationText(java.lang.String username, java.lang.String host, java.lang.String password)
SASLMechanism
getAuthenticationText
in class SASLMechanism
username
- 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)
SASLMechanism
getChallengeResponse
in class SASLMechanism
bytes
- the challenge sent by the server.Copyright © 2003 Jive Software.