Home | Trees | Index | Help |
|
---|
|
PasswordManager
--+
|
StreamSASLMixIn
Stream
Method Summary | |
---|---|
Initialize Stream object | |
Process incoming <stream:features/> element. | |
Add SASL features to the <features/> element of the stream. | |
bool |
Process incoming stream element. |
Process incoming <sasl:abort/> element. | |
Process incoming <sasl:auth/> element. | |
Process incoming <sasl:challenge/> element. | |
Process incoming <sasl:failure/> element. | |
Process stream element in the SASL namespace. | |
Process incoming <sasl:response/> element. | |
Process incoming <sasl:success/> element. | |
Reset StreamSASLMixIn object state making it ready to handle new
connections. | |
Start SASL authentication process. | |
Inherited from PasswordManager | |
bool |
Check if the authenticated entity is allowed to use given authorization id. |
bool |
Check the password validity. |
unicode |
Choose an authentication realm from the list provided by the server. |
str |
Generate a random string for digest authentication challenges. |
unicode ,`str` tuple. |
Get the password for user authentication. |
list of unicode |
Get available realms list. |
Return the host name for DIGEST-MD5 'digest-uri' field. | |
Return the service name for DIGEST-MD5 'digest-uri' field. | |
Return the service type for DIGEST-MD5 'digest-uri' field. |
Method Details |
---|
__init__(self,
sasl_mechanisms=())
Initialize Stream object |
_handle_sasl_features(self)Process incoming <stream:features/> element. [initiating entity only] The received features node is available in |
_make_stream_sasl_features(self, features)Add SASL features to the <features/> element of the stream. [receving entity only]
|
_process_node_sasl(self, xmlnode)Process incoming stream element. Pass it to _process_sasl_node if it is in the SASL namespace.
|
_process_sasl_abort(self)Process incoming <sasl:abort/> element. [receiving entity only] |
_process_sasl_auth(self, mechanism, content)Process incoming <sasl:auth/> element. [receiving entity only]
|
_process_sasl_challenge(self, content)Process incoming <sasl:challenge/> element. [initiating entity only]
|
_process_sasl_failure(self, xmlnode)Process incoming <sasl:failure/> element. [initiating entity only]
|
_process_sasl_node(self, xmlnode)Process stream element in the SASL namespace.
|
_process_sasl_response(self, content)Process incoming <sasl:response/> element. [receiving entity only]
|
_process_sasl_success(self, content)Process incoming <sasl:success/> element. [initiating entity only]
|
_reset_sasl(self)ResetStreamSASLMixIn object state making it ready to handle new
connections. |
_sasl_authenticate(self, username, authzid, mechanism=None)Start SASL authentication process. [initiating entity only]
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:45 2005 | http://epydoc.sf.net |