mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
Use SASLMechanism.toString() in getRegisterdSASLMechanisms()
of SASLAuthentication.
This commit is contained in:
parent
762939068b
commit
b6f7d019c7
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ public final class SASLAuthentication {
|
|||
Map<String, String> answer = new LinkedHashMap<String, String>();
|
||||
synchronized (REGISTERED_MECHANISMS) {
|
||||
for (SASLMechanism mechanism : REGISTERED_MECHANISMS) {
|
||||
answer.put(mechanism.getClass().getName(), mechanism.getName());
|
||||
answer.put(mechanism.getClass().getName(), mechanism.toString());
|
||||
}
|
||||
}
|
||||
return answer;
|
||||
|
|
Loading…
Reference in a new issue