[jdev] Login with SASL credentials unrelated to domain username

Aaron Kryptokos aaronkryptokos6 at aaronwl.com
Mon Nov 16 01:15:23 CST 2009

Justin Karneges wrote:

> I'm not 100% sure if it works since I've never tested it personally, but in 
> Psi you can go to the Misc section in the account settings and use 
> the "Authenticate as" area to set a specific username (authcid).

I just tried it, and it works, at least using SASL PLAIN.  It's good to 
know that there's at least one IM client that understands this.

Now the question is what to do about the market-share-leading IM clients 
that do not have this level of intelligence.  Support for Pidgin and 
Trillian has been mandated for this project, and I can't find any 
similar option in either of them.  As a practical matter, if you give 
either of these clients the authentication username instead of the 
actual XMPP node, they will log in and appear to work just fine; but 
they will display the wrong JID to the user.

Maybe the best that can be done is have the server detect this situation 
during resource binding and send a warning message to the user 
explaining that their client is displaying the wrong JID.

More information about the JDev mailing list