[jdev] Sasl Md5 Digest Authentication Problem

A.Wagner mail at aw030.de
Thu Mar 17 17:12:50 CST 2011


Hi,

i try to authenticate with md5 digest.

i am getting the challenge and build the response:
<response  xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>longbase64encodedstring</response>

but then the server always responds with (even when response stanza is empty):
<failure  xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><invalid-authzid/></failure>

Which format the authid (authid:realm:passwd) and authzid (Y:nonce:cnonce(:authzid)) must have?
testuser, testuser at test.org, testuser at test.org/unknownclient ?

Why this failure is returned even when the response stanza is empty?:
<response  xmlns='urn:ietf:params:xml:ns:xmpp-sasl'></response>

Greetz from Berlin
Thx.



More information about the JDev mailing list