Use SASLMechanism.toString() in getRegisterdSASLMechanisms()

of SASLAuthentication.
This commit is contained in:
Florian Schmaus 2017-03-18 13:18:44 +01:00
parent 762939068b
commit b6f7d019c7
1 changed files with 1 additions and 1 deletions

View File

@ -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;