Commit cc55ef46 authored by Jay Kline's avatar Jay Kline Committed by jay

Forgot the authenticationSuccessful() call for external c2s auth


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9144 b35dd754-fafc-0310-a699-88a17e54d16e
parent bc21f8a8
......@@ -291,7 +291,7 @@ public class SASLAuthentication {
}
}
catch (SaslException e) {
Log.debug("SaslException", e);
Log.debug("SASLAuthentication: SaslException", e);
authenticationFailed(session);
status = Status.failed;
}
......@@ -317,7 +317,7 @@ public class SASLAuthentication {
}
}
else {
Log.debug("Unknown namespace sent in auth element: " + doc.asXML());
Log.debug("SASLAuthentication: Unknown namespace sent in auth element: " + doc.asXML());
authenticationFailed(session);
status = Status.failed;
}
......@@ -497,6 +497,7 @@ public class SASLAuthentication {
//The providers should not allow a null authorization
if (AuthorizationManager.authorize(username,principal)) {
Log.debug("SASLAuthentication: "+principal+" authorized to "+username);
authenticationSuccessful(session, username, null);
return Status.authenticated;
}
} else {
......
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