1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-23 06:42:05 +01:00

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

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";
}
}