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

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...
  __provides__ = <zope.interface.declarations.ClassProvides obje...
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

Class Variable Details [hide private]

credentialInterfaces

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

__implemented__

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

__provides__

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