Trees | Indices | Help |
---|
|
extern.log.log.Loggable --+ | plugs.base.Plug --+ | plugs.base.ComponentPlug --+ | object --+ | | | common.common.InitMixin --+ | BouncerPlug
I am the base class for all bouncer plugs. FIXME: expireKeycardIds has been added to the component bouncer. Because the plug version is not yet used, and will be refactored/redesigned in a near future, the modifications have not been duplicated here. @cvar keycardClasses: tuple of all classes of keycards this bouncer can authenticate, in order of preference @type keycardClasses: tuple of L{flumotion.common.keycards.Keycard} class objects
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
keycardClasses =
|
|||
logCategory =
Implementors can provide a category to log their messages under. |
|||
KEYCARD_EXPIRE_INTERVAL = 120
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
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 None to deny the keycard, or a deferred which should have the same eventual value. |
Adds a keycard to the bouncer. Can be called with the same keycard more than one time. If the keycard has already been added successfully, adding it again will succeed and return True.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Nov 15 10:11:49 2009 | http://epydoc.sourceforge.net |