Package flumotion :: Package twisted :: Module checkers :: Class CryptChecker
[show private | hide private]
[frames | no frames]

Class CryptChecker

Loggable --+
           |
          CryptChecker


I check credentials using a crypt-based backend.
Method Summary
  __init__(self, **users)
  addUser(self, username, cryptPassword)
Add the given username and password.
  requestAvatarId(self, credentials)
    Inherited from Loggable
  debug(self, *args)
Log a debug message.
  error(self, *args)
Log an error.
  info(self, *args)
Log an informational message.
  log(self, *args)
Log a log message.
  logFunction(self, message)
Overridable log function.
  logObjectName(self)
Overridable object name function.
  warning(self, *args)
Log a warning.

Class Variable Summary
tuple __implements__ = (<class 'twisted.cred.checkers.ICredent...
tuple credentialInterfaces = (<class 'flumotion.twisted.creden...
str logCategory: Implementors can provide a category to log their messages under.

Method Details

addUser(self, username, cryptPassword)

Add the given username and password.
Parameters:
username - name of the user to add
           (type=string)
cryptPassword - the crypted password for this user
           (type=string)

Class Variable Details

__implements__

Type:
tuple
Value:
(<class 'twisted.cred.checkers.ICredentialsChecker'>,)                 

credentialInterfaces

Type:
tuple
Value:
(<class 'flumotion.twisted.credentials.IUsernameCryptPassword'>,)      

logCategory

Implementors can provide a category to log their messages under.
Type:
str
Value:
'cryptchecker'                                                         

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