Exemplo n.º 1
0
 def __init__(self, dict, handler, realm='default'):
     auth_handler.__init__(self, dict, handler, realm)
     # override the authorizer with one that knows about SHA hashes too
     self.authorizer = encrypted_dictionary_authorizer(dict)
Exemplo n.º 2
0
 def __init__(self, dict, handler, realm='default'):
     auth_handler.__init__(self, dict, handler, realm)
     # override the authorizer with one that knows about SHA hashes too
     self.authorizer = encrypted_dictionary_authorizer(dict)