Commit 93766a84 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed endless loop if invalid namespace is sent in auth element. JM-569

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3480 b35dd754-fafc-0310-a699-88a17e54d16e
parent a6042a79
......@@ -223,6 +223,11 @@ public class SASLAuthentication {
doc = reader.parseDocument().getRootElement();
}
}
else {
isComplete = true;
Log.debug("Unknown namespace sent in auth element: " + doc.asXML());
authenticationFailed();
}
}
// Remove the SaslServer from the Session
session.removeSessionData("SaslServer");
......
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