mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +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