[jdev] SASL Google Talk

JD Conley jd.conley at coversant.net
Wed Oct 12 16:55:58 CDT 2005

> I'm working on a Google Talk connection but I'n not very familiar with
> If I connect to the Google server over SSL, are there additional steps
> to take or can I just send something like :
> <iq type="set" id="auth_2" to="gmail.com" >
> <query xmlns="jabber:iq:auth">
> <username>name</username>
> <password>pass</password>
> <resource>myclient</resource>
> </query>
> </iq>

Unfortunately SASL is quite a bit more complicated than that. The server
will send you a list of mechanisms, then you choose one and use it.

See: http://www.xmpp.org/specs/rfc3920.html#sasl

-JD Conley

More information about the JDev mailing list