# HG changeset patch # User paulb # Date 1085935282 0 # Node ID e621441ea8b8a60cfb7fca34808ccebecbdf54cb # Parent ea5edac6046d4302be9cbbbd472cec371d780ba6 [project @ 2004-05-30 16:41:14 by paulb] Added logout handling. diff -r ea5edac6046d -r e621441ea8b8 examples/BaseHTTPRequestHandler/SimpleWithLoginApp.py --- a/examples/BaseHTTPRequestHandler/SimpleWithLoginApp.py Sun May 30 16:40:48 2004 +0000 +++ b/examples/BaseHTTPRequestHandler/SimpleWithLoginApp.py Sun May 30 16:41:22 2004 +0000 @@ -13,7 +13,8 @@ app_url="http://localhost:8080", resource=SimpleResource(), authenticator=LoginRedirectAuthenticator(secret_key="horses"), - anonymous_parameter_name="anonymous" + anonymous_parameter_name="anonymous", + logout_parameter_name="logout" ) ) address = ("", 8080) diff -r ea5edac6046d -r e621441ea8b8 examples/CGI/SimpleWithLoginHandler.py --- a/examples/CGI/SimpleWithLoginHandler.py Sun May 30 16:40:48 2004 +0000 +++ b/examples/CGI/SimpleWithLoginHandler.py Sun May 30 16:41:22 2004 +0000 @@ -15,7 +15,8 @@ app_url="http://localhost", resource=SimpleResource(), authenticator=LoginRedirectAuthenticator(secret_key="horses"), - anonymous_parameter_name="anonymous" + anonymous_parameter_name="anonymous", + logout_parameter_name="logout" ) CGI.respond(resource) diff -r ea5edac6046d -r e621441ea8b8 examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py --- a/examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py Sun May 30 16:40:48 2004 +0000 +++ b/examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py Sun May 30 16:41:22 2004 +0000 @@ -17,7 +17,9 @@ app_url="http://localhost", resource=SimpleResource(), authenticator=LoginRedirectAuthenticator(secret_key="horses"), - anonymous_parameter_name="anonymous" + anonymous_parameter_name="anonymous", + logout_parameter_name="logout", + use_logout_redirect=0 ) def handler(req): diff -r ea5edac6046d -r e621441ea8b8 examples/Twisted/SimpleWithLoginApp.py --- a/examples/Twisted/SimpleWithLoginApp.py Sun May 30 16:40:48 2004 +0000 +++ b/examples/Twisted/SimpleWithLoginApp.py Sun May 30 16:41:22 2004 +0000 @@ -13,7 +13,8 @@ app_url="http://localhost:8080", resource=SimpleResource(), authenticator=LoginRedirectAuthenticator(secret_key="horses"), - anonymous_parameter_name="anonymous" + anonymous_parameter_name="anonymous", + logout_parameter_name="logout" ) top_level = Twisted.Dispatcher(resource) diff -r ea5edac6046d -r e621441ea8b8 examples/Webware/SimpleWithLoginApp/__init__.py --- a/examples/Webware/SimpleWithLoginApp/__init__.py Sun May 30 16:40:48 2004 +0000 +++ b/examples/Webware/SimpleWithLoginApp/__init__.py Sun May 30 16:41:22 2004 +0000 @@ -17,7 +17,8 @@ app_url="http://localhost", resource=SimpleResource(), authenticator=LoginRedirectAuthenticator(secret_key="horses"), - anonymous_parameter_name="anonymous" + anonymous_parameter_name="anonymous", + logout_parameter_name="logout" ) def InstallInWebKit(appServer): diff -r ea5edac6046d -r e621441ea8b8 examples/Webware/SimpleWithLoginContext/__init__.py --- a/examples/Webware/SimpleWithLoginContext/__init__.py Sun May 30 16:40:48 2004 +0000 +++ b/examples/Webware/SimpleWithLoginContext/__init__.py Sun May 30 16:41:22 2004 +0000 @@ -15,7 +15,8 @@ app_url="http://localhost", resource=SimpleResource(), authenticator=LoginRedirectAuthenticator(secret_key="horses"), - anonymous_parameter_name="anonymous" + anonymous_parameter_name="anonymous", + logout_parameter_name="logout" ) urlParser = WebStackURLParser(resource)