Re: [jdev] Sasl Md5 Digest Authentication Problem

2011-03-17 Thread Peter Saint-Andre
And, to amplify, ... On 3/17/11 5:24 PM, Dave Cridland wrote: > On Thu Mar 17 23:12:50 2011, A.Wagner wrote: >> i am getting the challenge and build the response: >> > xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>longbase64encodedstring >> >> >> > You almost never want to write your own DIGEST-MD5 cod

Re: [jdev] Sasl Md5 Digest Authentication Problem

2011-03-17 Thread Dave Cridland
On Thu Mar 17 23:12:50 2011, A.Wagner wrote: i am getting the challenge and build the response: xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>longbase64encodedstring You almost never want to write your own DIGEST-MD5 code. (Aside from the fact that SCRAM is easier and better, lots of people have

[jdev] Sasl Md5 Digest Authentication Problem

2011-03-17 Thread A.Wagner
Hi, i try to authenticate with md5 digest. i am getting the challenge and build the response: longbase64encodedstring but then the server always responds with (even when response stanza is empty): Which format the authid (authid:realm:passwd) and authzid (Y:nonce:cnonce(:authzid)) must have?