[jdev] tls + plain sasl not working
Norman Rasmussen
norman at rasmussen.co.za
Wed Mar 22 06:36:22 CST 2006
you should be sending:
<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl"
mechanism="PLAIN">{base64 data here}</auth>
That's the way PLAIN works, DIGEST-MD5 doesn't have an initial client
to server payload, so that's why it's empty in the examples.
On 3/22/06, Adrian Adrian <flashbk2003 at yahoo.com> wrote:
> Hey Normann,
>
> No, I don't think so.
> According to the xmpp RFC3920 specifications
> (http://www.xmpp.org/specs/rfc3920.html#tls )
> I need to select the mechanism first. The credentials are sent through an
> iq packet after the negotiation ended.
>
> Adrian.
>
>
>
>
>
>
>
>
> Norman Rasmussen <norman at rasmussen.co.za> wrote:
>
> shouldn't you be sending the PLAIN data in the auth request? i.e.
> take the username and password, base64 encode them, and send them as
> part of the auth stanza.
>
> --
> - Norman Rasmussen
> - Email: norman at rasmussen.co.za
> - Home page: http://norman.rasmussen.co.za/
>
>
>
> ________________________________
> Yahoo! Mail
> Bring photos to life! New PhotoMail makes sharing a breeze.
>
>
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
More information about the JDev
mailing list