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.
|
__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
|
|
|
__providedBy__(...)
Object Specification Descriptor |
source code
|
|
|
|