Authenticator to permit an XmlStream to authenticate against a Jabber
Server as a Component (where the Authenticator is initiating the
stream).
This implements the basic component authentication. Unfortunately this
protocol is not formally described anywhere. Fortunately, all the Jabber
servers I know of use this mechanism in exactly the same way.
Method Summary |
|
__init__ (self,
componentjid,
password)
|
|
_handshakeEvent(self,
elem)
|
|
streamStarted (self,
rootelem)
Called by the XmlStream when it has received a root element from the
connected peer. |
Inherited from ConnectAuthenticator |
|
connectionMade (self)
Called by the XmlStream when the underlying socket connection is in
place. |
Inherited from Authenticator |
|
associateWithStream (self,
xmlstream)
Called by the XmlStreamFactory when a connection has been made to the
requested peer, and an XmlStream object has been instantiated. |