Attention

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

5.5.3.1.5. wsgidav.domain_controllerΒΆ

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

See Developers info for more information about the WsgiDAV architecture.

Classes

WsgiDAVDomainController(userMap)