Package flumotion :: Package twisted :: Module credentials :: Class UsernameCryptPasswordCryptChallenger
[hide private]

Class UsernameCryptPasswordCryptChallenger

source code

Known Subclasses:

I take a username.

Authenticator will give me a salt and challenge me. Requester will respond to the challenge. At that point I'm ready to be used by a checker. The response function used is flumotion.twisted.credentials.cryptRespond()

I implement IUsernameCryptPassword.

Instance Methods [hide private]
 
__init__(self, username) source code
 
setPassword(self, password)
I encode a given plaintext password using the salt, and respond to the challenge.
source code
 
checkCryptPassword(self, cryptPassword)
Check credentials against the given cryptPassword.
source code
 
__providedBy__(...)
Object Specification Descriptor
source code
Class Variables [hide private]
  __implemented__ = <implementedBy flumotion.twisted.credentials...
  __provides__ = <zope.interface.declarations.ClassProvides obje...
Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.twisted.credentials.UsernameCryptPasswordCryp\
tChallenger>

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x861cc2c>