Commit 93d51a8b authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Stop loop if SASL failed. Fixed endless loop. JM-569

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3478 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5f1f3438
......@@ -169,6 +169,7 @@ public class SASLAuthentication {
session.setSessionData("SaslServer", ss);
}
catch (SaslException e) {
isComplete = true;
Log.warn("SaslException", e);
authenticationFailed();
}
......@@ -202,6 +203,7 @@ public class SASLAuthentication {
}
}
catch (SaslException e) {
isComplete = true;
Log.warn("SaslException", e);
authenticationFailed();
}
......
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