[JDEV] Authorization Help
Dan Bray
vze2ry7c at verizon.net
Tue Oct 2 10:09:17 CDT 2001
I'm writing my own special purpose Jabber client and am having trouble with
the authentication. I am able to connect to Jabber.com with the following
exchange:
SEND:<iq type="get" id="JCOM_2"><query
xmlns="jabber:iq:auth"><username>jdbray</username></query></iq>
RECV:<iq type='result' id='JCOM_2'><query
xmlns='jabber:iq:auth'><username>jdbray</username><password/><digest/><resou
rce/></query></iq>
I respond with the hashed digest. However, when I attempt to connect to
jabber.org I get a different response which includes a <sequence> and
<token>. Winjab (which can connect) returns a <hash> value. I can't find
this in the docs and don't know what to use to generate the hash or what the
difference is betweent he <has> and <digest> tags.
All help is appreciated.
Dan
More information about the JDev
mailing list