Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.domain_controllerΒΆ

Description

Implementation of a domain controller that uses realm/username/password mappings from the configuration file and uses the share path as realm name.

userMap is defined a follows:

userMap = {'realm1': {
             'John Smith': {'description': '',
                            'password': 'YouNeverGuessMe',
                            },
             'Dan Brown': {'description': '',
                           'password': 'DontGuessMeEither',
                           },
             }
           'realm2': {
             ...
             }
           }

The WsgiDAVDomainController fulfills the requirements of a DomainController as used for authentication with http_authenticator.HTTPAuthenticator for the WsgiDAV application.

Domain Controllers must provide the methods as described in domaincontrollerinterface

Classes

WsgiDAVDomainController(userMap)

Other Members

sys This module provides access to some objects used or maintained by the interpreter and to functions that interact strongly with the interpreter.
util Miscellaneous support functions for WsgiDAV.