Return any string value when the server sends a challenge to the client.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2816 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2005-09-13 19:48:57 +00:00 committed by gato
parent fbe77866c5
commit bb0a864be9
1 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,8 @@ public class SASLAnonymous extends SASLMechanism {
}
protected String getChallengeResponse(byte[] bytes) {
// Return null since this mechanism will never get a challenge from the server
return null;
// Some servers may send a challenge to gather more information such as
// email address. Return any string value.
return "anything";
}
}