Package flumotion :: Package twisted :: Module checkers :: Class CryptChecker
[hide private]

Class CryptChecker

source code

extern.log.log.Loggable --+
                          |
                         CryptChecker

I check credentials using a crypt-based backend.

Instance Methods [hide private]
 
__init__(self, **users) source code
 
addUser(self, username, cryptPassword)
Add the given username and password.
source code
 
_cbCryptPasswordMatch(self, matched, username) source code
 
requestAvatarId(self, credentials) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  credentialInterfaces = (<InterfaceClass flumotion.twisted.cred...
  logCategory = 'cryptchecker'
Implementors can provide a category to log their messages under.
  __implemented__ = <implementedBy flumotion.twisted.checkers.Cr...
Method Details [hide private]

addUser(self, username, cryptPassword)

source code 

Add the given username and password.

Parameters:
  • username (string) - name of the user to add
  • cryptPassword (string) - the crypted password for this user

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

Overrides: extern.log.log.Loggable.__provides__

Class Variable Details [hide private]

credentialInterfaces

Value:
(<InterfaceClass flumotion.twisted.credentials.IUsernameCryptPassword>\
)

__implemented__

Value:
<implementedBy flumotion.twisted.checkers.CryptChecker>