[Standards] Re: SASL Plain - AuthID - Bare JID or User Name?

Matthias Wimmer m at tthias.eu
Thu Feb 8 22:31:19 UTC 2007

Hi Chris!

Chris Mullins schrieb:
> I can't think of any cases right now where they wouldn't match, but I
> have a feeling that such cases do exist. 

User "admin at amessage.info" want's to authorize as user 
"mawis at amessage.eu". It would send to='amessage.eu' in the stream header 
and use the following data in the PLAIN authentication response:

mawis at amessage.eu \0 admin at amessage.info \0 PasswordOfTheAdminUser

(Spaces only for better readability ... \0 stands for a byte with the 
binary value of zero.)


Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/

More information about the Standards mailing list