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.
dict doLog(self, level, where, format, *args, **kwargs)
Log a message at the given level, with the possibility of going higher up in the stack.
  error(self, *args)
Log an error.
  info(self, *args)
Log an informational message.
  log(self, *args)
Log a log message.
  logFunction(self, *args)
Overridable log function.
  logObjectName(self)
Overridable object name function.
  warning(self, *args)
Log a warning.
  warningFailure(self, failure, swallow)
Log a warning about a Failure.

Class Variable Summary
Implements __implemented__ = <implementedBy flumotion.twisted.check...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
tuple credentialInterfaces = (<MetaInterface flumotion.twisted...
str logCategory: Implementors can provide a category to log their messages under.
    Inherited from Loggable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

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

__implemented__

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

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x87996ec>        

credentialInterfaces

Type:
tuple
Value:
(<MetaInterface 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 Sat Apr 14 13:11:55 2007 http://epydoc.sf.net