1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 03:52:06 +01:00

Prevent password enforcement for SASL anonymous

requirePassword from 92f4aadfdc
already excludes SASL external, but missed SASL anonymous.
This commit is contained in:
Ingo Bauersachs 2021-10-16 21:09:01 +02:00
parent ec456399b5
commit 9b339efbc1

View file

@ -60,4 +60,8 @@ public class SASLAnonymous extends SASLMechanism {
// SASL Anonymous is always successful :)
}
@Override
public boolean requiresPassword() {
return false;
}
}