WebStack

examples/Webware/AuthContext/__init__.py

718:dc85e22e5a80
2007-10-27 paulb [project @ 2007-10-27 21:27:07 by paulb] Switched off error handling in examples.
     1 #!/usr/bin/env python     2      3 """     4 Webware context for the Auth application (post Webware 0.8.1).     5 """     6      7 from WebStack.Adapters.Webware import deploy     8 from Auth import AuthResource, AuthAuthenticator     9     10 # NOTE: Initialising a shared resource.    11     12 resource = AuthResource()    13 authenticator = AuthAuthenticator()    14 urlParser = deploy(resource, authenticator, handle_errors=0)    15     16 # vim: tabstop=4 expandtab shiftwidth=4