Ticket #3435 enhancement closed fixed
XmlStream should be convenient to use in a server context where there should be one authenticator per connection
|Reported by:||ralphm||Owned by:|
(diff, github, buildbot, log)
As the Jabber implementation has been mostly focussed on client side code (Jabber clients and Jabber components). The concept of authenticators has been used to initialize an XmlStream to the point that the connection can be used to exchange so-called XML stanzas. However, up to now, an already instantiated authenticator was passed to XmlStreamFactory, which in turn passes it to the XmlStream on instantiating in buildProtocol. This complicates using the same concept for server-side use, regarding #2320 and #3407.
This ticket attempts to change how authenticators get instantiated, by passing the authenticator class and its parameters to the factory, leaving it to the XmlStream instance to instantiate the authenticator. This makes adding a factory for accepting XML streams trivial.