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

Class UsernameCryptPasswordCrypt

source code

I take a username and a crypt password. When using me you should make sure the password was crypted with the correct salt (which is stored in the crypt password backend of whatever checker you use); otherwise your password may be a valid crypt, but with a different salt. I implement IUsernameCryptPassword.

Instance Methods [hide private]
__init__(self, username, cryptPassword=None) source code
setPasswordSalt(self, password, salt)
Given the plaintext password and the salt, set the correct cryptPassword.
source code
checkCryptPassword(self, cryptPassword)
Check credentials against the given cryptPassword.
source code
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]


<implementedBy flumotion.twisted.credentials.UsernameCryptPasswordCryp\


<zope.interface.declarations.ClassProvides object at 0x866de8c>