Prevent password enforcement for SASL GSSAPI

Similar fix as 9b339efbc1 ("Prevent password enforcement for SASL
anonymous") just for SASL GSSAPI. Fixes SMACK-920.

Fixes: 92f4aadfdc ("[sasl] Avoid mechanisms that need a password when none is available")
master
Florian Schmaus 8 months ago
parent 993a307222
commit 817dc0ed3a
  1. 4
      smack-sasl-javax/src/main/java/org/jivesoftware/smack/sasl/javax/SASLGSSAPIMechanism.java

@ -66,4 +66,8 @@ public class SASLGSSAPIMechanism extends SASLJavaXMechanism {
return new SASLGSSAPIMechanism();
}
@Override
public boolean requiresPassword() {
return false;
}
}

Loading…
Cancel
Save