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__ = (<class 'flumotion.twisted.credentials....

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:
(<class 'flumotion.twisted.credentials.IUsernameCryptPassword'>,)      

Generated by Epydoc 2.1 on Wed Feb 16 07:22:59 2005 http://epydoc.sf.net