[jdev] Re: S2S and SASL
Justin Karneges
justin-keyword-jabber.093179 at affinix.com
Tue Jul 26 15:51:56 CDT 2005
On Tuesday 26 July 2005 11:26 am, Stephen Marquard wrote:
> Peter Saint-Andre wrote:
> >> - If SASL should happen for each individual s2s connection, should
> >> bi-directional communications be deferred until SASL is successfully
> >> completed over each connection as is required for Server Dialback?
> >
> > I think exchange of XML stanzas should be deferred until SASL is
> > successfully completed in both directions.
> >
> > But those are merely my opinions.
>
> Why would one want to have 2 unidirectional connections rather than 1
> bidirectional connection? Dialback is an authentication mechanism, so if
> SASL is in use it would seem to be redundant.
It was decided that in order to maintain compatibility with the dialback
style, all s2s connections are uni-directional, even SASL-based connections.
Note that completing two SASL connections (one in each direction) is not
required to begin sending stanzas. One connection is enough to begin
sending, but you can only send in one direction. This is no different than
dialback.
-Justin
More information about the JDev
mailing list