Subject: Openfire with BOSH + Digest-MD5 + "@" sign in username fails auth; PLAIN text succeeds
I am using agsXMPP to connect to Openfire using BOSH. It works fine and defaults to DIGEST-MD5 auth just fine, until I try a username with "@" in it. Debugging the code indicated the agsXMPP is escaping the @ sign to \40 correctly, but when the challenge response reaches the server, openfire reads "user@domain.com" as "user40domain.com". It "loses" the \ and hence authentication fails.
At first glance, it looks like this may be an Openfire issue rather than agsXMPP, but I was wondering if someone has experience with this setup.
If I switch the SASL mechanism to PLAIN in OnSaslStart event, then the authentication succeeds just fine, but of course this is not ideal.
Thanks in advance,
Prerak
At first glance, it looks like this may be an Openfire issue rather than agsXMPP, but I was wondering if someone has experience with this setup.
If I switch the SASL mechanism to PLAIN in OnSaslStart event, then the authentication succeeds just fine, but of course this is not ideal.
Thanks in advance,
Prerak
This post was edited on 2008-12-11, 19:43 by preraksanghvi.