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

Class UsernameCryptPasswordCrypt


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.
Method Summary
  __init__(self, username, cryptPassword)
  checkCryptPassword(self, cryptPassword)
Check credentials against the given cryptPassword.
  setPasswordSalt(self, password, salt)
Given the plaintext password and the salt, set the correct cryptPassword.

Class Variable Summary
tuple __implements__ = (<MetaInterface flumotion.twisted.crede...

Method Details

checkCryptPassword(self, cryptPassword)

Check credentials against the given cryptPassword.

setPasswordSalt(self, password, salt)

Given the plaintext password and the salt, set the correct cryptPassword.

Class Variable Details

__implements__

Type:
tuple
Value:
(<MetaInterface flumotion.twisted.credentials.IUsernameCryptPassword>,\
)                                                                      

Generated by Epydoc 2.1 on Wed Sep 13 13:38:34 2006 http://epydoc.sf.net