[JDEV] Authentication

David Waite mass at akuma.org
Wed Oct 10 20:02:02 CDT 2001


The <hash/> <sequence/> and <token/> values are used for zero-knowledge 
authentication, which I don't believe is an official standard. see 
http://docs.jabber.org for info.

-David Waite

Dan Bray wrote:

>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
>
>
>_______________________________________________
>jdev mailing list
>jdev at jabber.org
>http://mailman.jabber.org/listinfo/jdev
>






More information about the JDev mailing list