| Trees | Indices | Help |
|---|
|
|
object --+
|
common.common.InitMixin --+
|
extern.log.log.Loggable --+
|
component.BaseComponent --+
|
bouncer.Bouncer --+
|
IPBouncer
|
|||
|
Inherited from |
|||
|
|||
logCategory = Implementors can provide a category to log their messages under. |
|||
| tuple of flumotion.common.keycards.Keycard class objects |
keycardClasses = keycards.KeycardUACPCC, keycards.KeycardUACPPtuple of all classes of keycards this bouncer can authenticate, in order of preference |
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Subclasses can implement me to set up the component before it is started. It should set up the component, possibly opening files and resources. Non-programming errors should not be raised, but returned as a failing deferred. The return value may be a deferred.
|
Must be overridden by subclasses. Authenticate the given keycard. Return the keycard with state AUTHENTICATED to authenticate, with state REQUESTING to continue the authentication process, or REFUSED to deny the keycard or a deferred which should have the same eventual value. FIXME: Currently, a return value of 'None' is treated as rejecting the keycard. This is unintuitive. FIXME: in fact, for authentication sessions like challenge/response, returning a keycard with state REFUSED instead of None will not work properly and may enter in an asynchronous infinit loop.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sun Nov 15 09:17:31 2009 | http://epydoc.sourceforge.net |