Hello.
Does anyone have an idea, why Smack (the Java client library) is
producing these invalid challenge response:
<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">=</response>
Notice the single = character in place of empty data.
Single = character is invalid Base64 data and it prevents SMACK logging
in my server on invalid-encoding error.
There is an explicit code in Smack to implement this violation:
authenticationText = Base64.encodeBytes(response,Base64.DONT_BREAK_LINES);
if(authenticationText.equals("")) {
authenticationText = "=";
}
Somebody obviously had something in mind implementing it.
Am I missing something?
--
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/ http://www.xiaoka.com/portfolio
_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________