[jdev] jabber:iq:auth in the component:accept namespace?

Matthias Wimmer m at tthias.net
Fri Aug 19 08:06:09 CDT 2005


Hi Konstantin!

Konstantin Klyagin wrote:

>[OUT]<route to='konst at thekonst.homeip.net'
>from='some at jims.thekonst.homeip.net'
>id='1' type='auth'><iq to='konst at thekonst.homeip.net' id='2'
>type='set'><query
>xmlns='jabber:iq:auth'><username>konst</username><password>****</password></query></iq></route>
>
>[IN]<route from='konst at thekonst.homeip.net'
>to='some at jims.thekonst.homeip.net' type='auth'><iq id='2'
>type='error'><query
>xmlns='jabber:iq:auth'><username>konst</username><password>****</password></query><error
>code='406'>Not Acceptable</error></iq></route>
>
>Using <route/> stanzas sounds like a good idea. I wish I could get
>through this "Not Acceptable" problem. Thanks again.
>
>  
>
The "Not Acceptable" is not a problem with your component doing the 
auth. You would have gotten the same if you would have sent your <iq/> 
request using a client connection. I guess your problem is, that you did 
not provide a <resource/> element inside the <query/> element.


Matthias



More information about the JDev mailing list