Package flumotion :: Package component :: Package bouncers :: Module saltsha256 :: Class SaltSha256
[hide private]

Class SaltSha256

source code

             object --+                
common.common.InitMixin --+            
extern.log.log.Loggable --+            
    component.BaseComponent --+        
                bouncer.Bouncer --+    
   bouncer.ChallengeResponseBouncer --+

I am a bouncer that stores usernames, salts, and SHA-256 data to authenticate against.

Nested Classes [hide private]

Inherited from bouncer.Bouncer: componentMediumClass

Instance Methods [hide private]
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, do_stop, expireAllKeycards, expireKeycardId, generateKeycardId, getDomain, getEnabled, hasKeycard, keepAlive, removeKeycard, removeKeycardId, setDomain, setEnabled, typeAllowed

Inherited from bouncer.Bouncer (private): _expire

Inherited from component.BaseComponent: __init__, addMessage, adminCallRemote, check_properties, do_check, fixRenamedProperties, getMood, getName, getWorkerName, setMedium, setMood, setShutdownHook, setWorkerName, setup, setup_completed, stop, waitForHappy

Inherited from component.BaseComponent (private): _pollCPU, _pollMemory

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

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

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

Inherited from bouncer.Bouncer: KEYCARD_EXPIRE_INTERVAL

Inherited from extern.log.log.Loggable: __implemented__, __provides__

Instance Variables [hide private]

Inherited from component.BaseComponent: medium, name, uiState

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]


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.

The return value may be a deferred.

Overrides: component.BaseComponent.do_setup
(inherited documentation)