class documentation

class DummySASLInitiatingInitializer(sasl.SASLInitiatingInitializer): (source)

View In Hierarchy

Dummy SASL Initializer for initiating entities.

This hardwires the SASL mechanism to DummySASLMechanism, that is instantiated with the value of initialResponse.

Method setMechanism Select and setup authentication mechanism.
Instance Variable initialResponse The initial response to be returned by the dummy SASL mechanism or None.
Instance Variable mechanism Undocumented

Inherited from SASLInitiatingInitializer:

Method onChallenge Parse challenge and send response from the mechanism.
Method onFailure Clean up observers, parse the failure and errback the deferred.
Method onSuccess Clean up observers, reset the XML stream and send a new header.
Method sendAuth Initiate authentication protocol exchange.
Method sendResponse Send response to a challenge.
Method start Start SASL authentication exchange.
Class Variable feature Undocumented
Instance Variable _deferred Undocumented

Inherited from BaseFeatureInitiatingInitializer (via SASLInitiatingInitializer):

Method __init__ Undocumented
Method initialize Initiate the initialization.
Instance Variable required whether the stream feature is required to be advertized by the receiving entity.
Instance Variable xmlstream The associated XML stream
def setMechanism(self): (source)

Select and setup authentication mechanism.

Uses the authenticator's jid and password attribute for the authentication credentials. If no supported SASL mechanisms are advertized by the receiving party, a failing deferred is returned with a SASLNoAcceptableMechanism exception.

initialResponse: unicode. = (source)

The initial response to be returned by the dummy SASL mechanism or None.