[jdev] sasl plain again

Adrian Adrian flashbk2003 at yahoo.com
Thu Apr 13 03:56:36 CDT 2006


Hello list, 
  
  Sorry to bring an old issue again but I'm still not clear with SASL PLAIN authentication mechanism. 
  My XMPP server is the brand new Wildfire 1.6. The new server update takes care of that bug that didn't allow empty auth packet. 
  
  My communication is this : 
  C [start stream]
  S [advertises auth mechanism]
  C [select mechanism]
  <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl'mechanism='PLAIN'/>
  S [blank challenge]
  <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">=</challenge>
  C  "initial response"
  This "initial response" is giving me a hard time.
  This is the place where I'm supposed to send user name and password base64 encoded to the server ? 
  
  And another stupid question : 
  Is there a way to send credentials in an other form than null character  delimited ? The language I write the code with (flash actionscript 2.0)  is truncating strings at the first '\0' encountered. And as I figure  base64(str1+"\0"+str2) isn't the same with   base64(str1)+'='+base64(str2)
  
  Thanks
  Adrian. 
  
  
		
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20060413/339692bb/attachment-0002.htm>


More information about the JDev mailing list