[JDEV] Overiding digest auth

Mr. D. Ragon mr_dragon_raaar at hotmail.com
Wed Nov 13 17:58:34 CST 2002


howdy

ive been trying to overide auth in jabberd.

i included the following in jabber.xml

<xdb id="xdb_perl">
    <host/>
    <ns>jabber:iq:auth</ns>
    <accept>
        <ip>localhost</ip>
        <port>7778</port>
        <secret>wibble</secret>
    </accept>
</xdb>

and in the associated perl script i send and receive the following

RECV: <xdb type='get' to='rabbit at abhlach.com' from='sessions' 
ns='jabber:iq:auth' id='2'/>
SEND: <xdb id='2' type='result' to='sessions' from='rabbit at abhlach.com' 
ns='jabber:iq:auth'><query xmlns='jabber:iq:auth'/></xdb>
RECV: <xdb type='set' action='check' to='rabbit at abhlach.com' from='sessions' 
ns='jabber:iq:auth' id='2'><password>rabbit</password></xdb>
SEND: <xdb id='2' type='result' to='sessions' from='rabbit at abhlach.com' 
ns='jabber:iq:auth' action='check'/>

this all works fine for plain text authentication and my question is - is it 
possible to make it work with digest auth??

my jabber client always receives
RECV: <iq id='jcl_34' type='result'><query 
xmlns='jabber:iq:auth'><username>rabbit</username><password/><resource/></query></iq>

when i want it to receive <digest/> obviously - how can i force the perl 
script xdb component to send it??

cheers
ade






_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




More information about the JDev mailing list