[jdev] SASL Google Talk
Norman Rasmussen
normanr at gmail.com
Thu Oct 13 03:18:49 CDT 2005
If you're connecting over ssl, SASL is not required, you can get away with:
send:
<iq type="get" id="auth_1" to="gmail.com" >
<query xmlns="jabber:iq:auth">
<username>name</username>
</query>
</iq>
waitfor:
<iq from="gmail.com" type="result" id="auth_1" >
<query xmlns="jabber:iq:auth">
<username/>
<resource/>
<password/>
</query>
</iq>
send:
<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>
On 12/10/05, Matthew Terenzio <matt at jobsforge.com> wrote:
> I'm working on a Google Talk connection but I'n not very familiar with
> SASL.
>
> 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>
>
> over.
>
>
>
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
More information about the JDev
mailing list