powered by Jive Software

Sasl failure - incorrect-encoding

Hi, I have a little issue with this portion of code from SASLMechanism.java concerning the element public String toXML() { StringBuilder stanza = new StringBuilder(); stanza.append(""); if (authenticationText != null) { stanza.append(authenticationText); } else { // the else case should be removed stanza.append("="); } stanza.append(""); return stanza.toString(); }This codes send a = instead of an empty response element. ‘=’ is not a valid base64 string. This is generally the last response of a challenge so many servers don’t check the additional data but some like jabberd2 check it and send an incorrect-encoding failure. I attach the corresponding exchange.
sasl-failure.txt.zip (885 Bytes)

Well, i’m not sure if this should be filed in the tracker, but anyway, maybe this will get more attention then. SMACK-324