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

Class FlexibleCredentialsChecker

source code

extern.log.log.Loggable --+
                          |
                         FlexibleCredentialsChecker

I am an in-memory username/password credentials checker that also allows anonymous logins if instructed to do so.

Instance Methods [hide private]
 
__init__(self, **users) source code
 
allowPasswordless(self, wellDoWeQuestionMark) source code
 
addUser(self, username, password) source code
 
_cbPasswordMatch(self, matched, username, avatarId) 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]
  logCategory = 'credchecker'
Implementors can provide a category to log their messages under.
  credentialInterfaces = (<InterfaceClass twisted.cred.credentia...
  __implemented__ = <implementedBy flumotion.twisted.checkers.Fl...
Method Details [hide private]

__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 twisted.cred.credentials.IUsernamePassword>,
 <InterfaceClass twisted.cred.credentials.IUsernameHashedPassword>)

__implemented__

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