| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package protocols :: Package jabber :: Module component :: Class ComponentAuthenticator |
|
Authenticator --+
|
ComponentAuthenticator
Authenticator to permit an XmlStream to authenticate against a Jabber Server as a Component
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 | |
|---|---|
| |
_handshakeEvent(self,
elem)
| |
Called by the XmlStream when it has received a root element from the connected peer. | |
| Inherited from Authenticator | |
Called by the XmlStreamFactory when a connection has been made to the requested peer, and an XmlStream object has been instantiated. | |
| Instance Variable Summary | |
|---|---|
| Inherited from Authenticator | |
str |
streamHost: Target host for this stream (used as the 'to' attribute) |
XmlStream |
xmlstream: The XmlStream that needs authentication |
| Class Variable Summary | |
|---|---|
str |
namespace: Default namespace for the XmlStream |
| Inherited from Authenticator | |
int |
version: Version attribute for XmlStream. |
| Method Details |
|---|
__init__(self,
componentjid,
password)
|
streamStarted(self, rootelem)Called by the XmlStream when it has received a root element from the connected peer.
|
| Class Variable Details |
|---|
namespaceDefault namespace for the XmlStream
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat Sep 13 04:20:36 2003 | http://epydoc.sf.net |