[jdev] gmail + non-SASL

Yann Leboulanger asterix at lagaule.org
Wed Feb 24 03:11:22 CST 2010


Nathan Fritz wrote:
> You must be referring to the 5223 service? The resource hex values
> indicate the cluster node your session data. I imagine only one of the
> servers handles old-style jabber connections if it doesn't rewrite your
> resource.
> 
> Using the old style auth is NOT xmpp 1.0 compliant while the server
> rewriting resouces is acceptable in the spec and I think a really neat
> solution for cluster optimization.
> 
> Another reason for the lack of resource rewrite in old style jabber is
> that resource binding didn't exist. In short those connections are not
> xmpp.

No no I mean connected on port 5222, with TLS (not SSL). I'm only
talking about the authentication mechanism. Once connected and tls
proceeded, I send:

<iq xmlns="jabber:client" type="get" id="1"><query
xmlns="jabber:iq:auth"><username>XXX</username></query></iq>

instead of

<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />

Maybe it's convenient for server admin to have those cluster node in
resource, but as a user, I really don't care and don't want to see that.

Now the problem is not that the client doesn't support resource binding,
just that it's not nice from a user point of view.

-- 
Yann


More information about the JDev mailing list