Commit 9251ec35 authored by Daryl Herzmann's avatar Daryl Herzmann Committed by akrherz

OF-58: Log username of failed SASL logins


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11231 b35dd754-fafc-0310-a699-88a17e54d16e
parent 34e487e8
...@@ -138,10 +138,10 @@ public class SaslServerPlainImpl implements SaslServer { ...@@ -138,10 +138,10 @@ public class SaslServerPlainImpl implements SaslServer {
throw new SaslException("UTF8 not available on platform", e); throw new SaslException("UTF8 not available on platform", e);
} catch (UnsupportedCallbackException e) { } catch (UnsupportedCallbackException e) {
aborted = true; aborted = true;
throw new SaslException("PLAIN authentication failed", e); throw new SaslException("PLAIN authentication failed for: "+username, e);
} catch (IOException e) { } catch (IOException e) {
aborted = true; aborted = true;
throw new SaslException("PLAIN authentication failed", e); throw new SaslException("PLAIN authentication failed for: "+username, e);
} }
return null; return null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment