Commit 562084c0 authored by Jay Kline's avatar Jay Kline Committed by jay

Fix for JM-1109


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9056 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3bcf3447
......@@ -218,6 +218,12 @@ public class SASLAuthentication {
token = new byte[0];
}
}
if (mechanism.equals("DIGEST-MD5")) {
// RFC2831 (DIGEST-MD5) says the client MAY provide an initial response on subsequent
// authentication. Java SASL does not (currently) support this and thows an exception
// if we try. This violates the RFC, so we just strip any initial token.
token = new byte[0];
}
byte[] challenge = ss.evaluateResponse(token);
if (ss.isComplete()) {
authenticationSuccessful(session, ss.getAuthorizationID(),
......
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