changeset 5248:ab68cadb0f66

fix snippet to show GivenAuth and HTTPAuthMoin
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 02 Nov 2009 23:57:25 +0100
parents ac1f33fb3829
children 279edb84f791
files wiki/config/more_samples/http_auth_wikiconfig_snippet
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/config/more_samples/http_auth_wikiconfig_snippet	Mon Nov 02 23:36:22 2009 +0100
+++ b/wiki/config/more_samples/http_auth_wikiconfig_snippet	Mon Nov 02 23:57:25 2009 +0100
@@ -1,10 +1,16 @@
-    # This is a sample configuration snippet that shows moin's http auth configuration
+    # This is a sample configuration snippet that shows moin's auth configuration.
     # See HelpOnSessions, HelpOnAuthentication and HelpOnConfiguration for more infos.
 
     # authentication methods used (default shown, see also other snippets):
     # if autocreate is True user profiles are created automatically
-    #from MoinMoin.auth.http import HTTPAuth
-    #auth = [HTTPAuth(autocreate=True)]
+
+    # With HTTPAuthMoin moin does http basic auth all by itself:
+    #from MoinMoin.auth.http import HTTPAuthMoin
+    #auth = [HTTPAuthMoin(autocreate=True)]
+
+    # With GivenAuth moin relies on the webserver doing the authentication:
+    #from MoinMoin.auth import GivenAuth
+    #auth = [GivenAuth(autocreate=True)]
 
     # a list of form field names to be disabled in the UserPreferences.
     #user_form_disable = ['name', ]