Package flumotion :: Package component :: Package bouncers :: Module htpasswdcrypt :: Class HTPasswdCrypt
[hide private]

Class HTPasswdCrypt

source code

             object --+                
                      |                
common.common.InitMixin --+            
                          |            
    common.log.Loggable --+            
                          |            
             object --+   |            
                      |   |            
        gobject.GObject --+            
                          |            
    component.BaseComponent --+        
                              |        
                bouncer.Bouncer --+    
                                  |    
   bouncer.ChallengeResponseBouncer --+
                                      |
                                     HTPasswdCrypt

Nested Classes [hide private]

Inherited from bouncer.Bouncer: componentMediumClass

Instance Methods [hide private]
 
do_setup(self)
Subclasses can implement me to set up the component before it is started.
source code

Inherited from bouncer.ChallengeResponseBouncer: addUser, do_authenticate, init, setChecker

Inherited from bouncer.Bouncer: addKeycard, authenticate, expireAllKeycards, expireKeycardId, getDomain, hasKeycard, removeKeycard, removeKeycardId, setDomain, setEnabled, typeAllowed

Inherited from component.BaseComponent: __init__, addMessage, adminCallRemote, do_check, do_start, do_stop, emit, fixRenamedProperties, getMood, getName, getWorkerName, setMedium, setMood, setShutdownHook, setWorkerName, setup, start, stop

Inherited from common.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Inherited from gobject.GObject: __cmp__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, set_property, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__, __str__

Class Variables [hide private]
  logCategory = 'htpasswdcrypt'
Implementors can provide a category to log their messages under.
tuple of flumotion.common.keycards.Keycard class objects keycardClasses = keycards.KeycardUACPCC, keycards.KeycardUACPP
tuple of all classes of keycards this bouncer can authenticate, in order of preference
  challengeResponseClasses = keycards.KeycardUACPCC,

Inherited from component.BaseComponent: __gtype__

Inherited from common.log.Loggable: __implemented__, __provides__

Instance Variables [hide private]

Inherited from component.BaseComponent: medium, name

Properties [hide private]

Inherited from gobject.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

do_setup(self)

source code 

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.

self.config will be set before this is called.

Returns:
twisted.internet.defer.Deferred
Overrides: component.BaseComponent.do_setup
(inherited documentation)