mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-16 12:12:06 +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:
parent
fbe77866c5
commit
bb0a864be9
1 changed files with 3 additions and 2 deletions
|
@ -45,7 +45,8 @@ public class SASLAnonymous extends SASLMechanism {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String getChallengeResponse(byte[] bytes) {
|
protected String getChallengeResponse(byte[] bytes) {
|
||||||
// Return null since this mechanism will never get a challenge from the server
|
// Some servers may send a challenge to gather more information such as
|
||||||
return null;
|
// email address. Return any string value.
|
||||||
|
return "anything";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue