# HG changeset patch # User paulb # Date 1076276618 0 # Node ID 97f1da7687b765b9f69f4119639617e9a991d568 # Parent 67fe9503a378a93596fb8b970896bffad956ff80 [project @ 2004-02-08 21:43:38 by paulb] Added the authentication/authorisation example for post-0.8.1 Webware. diff -r 67fe9503a378 -r 97f1da7687b7 examples/Webware/AuthContext/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/Webware/AuthContext/__init__.py Sun Feb 08 21:43:38 2004 +0000 @@ -0,0 +1,15 @@ +#!/usr/bin/env python + +""" +Webware context for the Auth application (post Webware 0.8.1). +""" + +from WebStack.Adapters.Webware import WebStackURLParser +from Auth import AuthResource + +# NOTE: Initialising a shared resource. + +resource = AuthResource() +urlParser = WebStackURLParser(resource) + +# vim: tabstop=4 expandtab shiftwidth=4