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")
This commit is contained in:
Florian Schmaus 2021-12-21 12:46:08 +01:00
parent 993a307222
commit 817dc0ed3a
1 changed files with 4 additions and 0 deletions

View File

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