Package flumotion :: Package twisted :: Module credentials :: Class UsernameCryptPasswordCryptChallenger
[show private | hide private]
[frames | no frames]

Class UsernameCryptPasswordCryptChallenger

Known Subclasses:
KeycardUACPCC

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.
Method Summary
  __init__(self, username)
  checkCryptPassword(self, cryptPassword)
Check credentials against the given cryptPassword.
  setPassword(self, password)
I encode a given plaintext password using the salt, and respond to the challenge.

Class Variable Summary
Implements __implemented__ = <implementedBy flumotion.twisted.crede...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...

Method Details

checkCryptPassword(self, cryptPassword)

Check credentials against the given cryptPassword.

setPassword(self, password)

I encode a given plaintext password using the salt, and respond to the challenge.

Class Variable Details

__implemented__

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

__providedBy__

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

__provides__

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

Generated by Epydoc 2.1 on Sun Oct 26 16:39:17 2008 http://epydoc.sf.net