mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 00:59:39 +02:00
[sasl] Avoid mechanisms that need a password when none is available
This commit is contained in:
parent
72e11ebf71
commit
92f4aadfdc
4 changed files with 41 additions and 12 deletions
|
@ -65,4 +65,9 @@ public class SASLExternalMechanism extends SASLJavaXMechanism {
|
|||
public SASLExternalMechanism newInstance() {
|
||||
return new SASLExternalMechanism();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requiresPassword() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue