[jdev] Multiple domain negotiations with SASL?

Matthias Wimmer m at tthias.eu
Mon Apr 16 17:20:34 CDT 2007

HI Janne!

Janne Savukoski schrieb:
> I'm sorry if this is some frustraginly frequently asked question, but
> as I'm seeing Google requesting db-results for several domains under a
> single TCP-session, it got me thinking if it's supported (by
> xmpp-servers in general) to do multiple SASL-negotiations similarly?

You are allowed to do SASL authentication if <mechanisms 
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/> has been advertized by the 

After SASL authentication has been done, the stream gets reestablished 
by sending a stream header and new stream features.

All servers I know will not include the above stream feature again if 
authentication has already been done. Therefore with current 
implementations you are not able to do multiple SASL-negotiations on the 
same connection.


More information about the JDev mailing list