[jdev] how to program a jabber game server

Norman Rasmussen norman at rasmussen.co.za
Fri Feb 9 10:04:13 CST 2007


On 2/9/07, Mridul <mridul at sun.com> wrote:
> Norman Rasmussen wrote:
> > Some servers allow you to send messages 'from' any resource (as long
> > as the bare jid matches your authenticated jid).  This seems to be
> > very implementation specific though.
> And that would be a bug imo. You can send stanzas only from your bound
> jid or the bare jid.

As it turns out RFC 3920 allows you to only send stanzas from your
bare jid or any "one of the connected resources for that entity".
Still many servers implement it differently, so this is the sort of
test that should go into a xmpp unit test.

-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list