Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[packaging] moving who.ini

  • Loading branch information...
commit a2fa52e7f70400231ee4963bbef2f052f51fd4f9 1 parent 4ac54e1
james.gardner@okfn.org authored
Showing with 61 additions and 59 deletions.
  1. +1 −0  MANIFEST.in
  2. +59 −0 ckan/config/who.ini
  3. +0 −59 who.ini
  4. +1 −0  who.ini
View
1  MANIFEST.in
@@ -2,4 +2,5 @@ include ckan/config/deployment.ini_tmpl
recursive-include ckan/public *
recursive-include ckan/templates *
recursive-include ckan/requires *
+recursive-include ckan *.ini
include CHANGELOG.txt
View
59 ckan/config/who.ini
@@ -0,0 +1,59 @@
+[plugin:auth_tkt]
+use = repoze.who.plugins.auth_tkt:make_plugin
+secret = somesecret
+
+[plugin:friendlyform]
+use = repoze.who.plugins.friendlyform:FriendlyFormPlugin
+login_form_url= /user/login
+login_handler_path = /login_generic
+logout_handler_path = /user/logout
+rememberer_name = auth_tkt
+post_login_url = /user/logged_in
+post_logout_url = /user/logged_out
+
+#[plugin:basicauth]
+#use = repoze.who.plugins.basicauth:make_plugin
+#realm = 'CKAN'
+
+[plugin:openid]
+use = repoze.who.plugins.openid:make_identification_plugin
+store = file
+store_file_path = %(here)s/sstore
+#openid_field = openid
+openid_field = openid_identifier
+came_from_field = came_from
+error_field = error
+session_name = beaker.session
+login_form_url = /user/login
+login_handler_path = /login_openid
+logout_handler_path = /user/logout
+# important they go via here after login
+logged_in_url = /user/logged_in
+logged_out_url = /user/logged_out
+rememberer_name = auth_tkt
+# Not supported without an upgrade to "repoze.who.plugins.openid>=0.5.3"
+#ax_optional = nickname=http://axschema.org/namePerson/friendly email=http://schema.openid.net/contact/email fullname=http://axschema.org/namePerson
+#sreg_optional = nickname email fullname
+
+[general]
+request_classifier = repoze.who.classifiers:default_request_classifier
+# challenge_decider = repoze.who.classifiers:default_challenge_decider
+challenge_decider = repoze.who.plugins.openid.classifiers:openid_challenge_decider
+
+[identifiers]
+plugins =
+ friendlyform;browser
+ openid
+ auth_tkt
+
+[authenticators]
+plugins =
+ ckan.lib.authenticator:OpenIDAuthenticator
+ ckan.lib.authenticator:UsernamePasswordAuthenticator
+
+[challengers]
+plugins =
+ openid
+ friendlyform;browser
+# basicauth
+
View
59 who.ini
@@ -1,59 +0,0 @@
-[plugin:auth_tkt]
-use = repoze.who.plugins.auth_tkt:make_plugin
-secret = somesecret
-
-[plugin:friendlyform]
-use = repoze.who.plugins.friendlyform:FriendlyFormPlugin
-login_form_url= /user/login
-login_handler_path = /login_generic
-logout_handler_path = /user/logout
-rememberer_name = auth_tkt
-post_login_url = /user/logged_in
-post_logout_url = /user/logged_out
-
-#[plugin:basicauth]
-#use = repoze.who.plugins.basicauth:make_plugin
-#realm = 'CKAN'
-
-[plugin:openid]
-use = repoze.who.plugins.openid:make_identification_plugin
-store = file
-store_file_path = %(here)s/sstore
-#openid_field = openid
-openid_field = openid_identifier
-came_from_field = came_from
-error_field = error
-session_name = beaker.session
-login_form_url = /user/login
-login_handler_path = /login_openid
-logout_handler_path = /user/logout
-# important they go via here after login
-logged_in_url = /user/logged_in
-logged_out_url = /user/logged_out
-rememberer_name = auth_tkt
-# Not supported without an upgrade to "repoze.who.plugins.openid>=0.5.3"
-#ax_optional = nickname=http://axschema.org/namePerson/friendly email=http://schema.openid.net/contact/email fullname=http://axschema.org/namePerson
-#sreg_optional = nickname email fullname
-
-[general]
-request_classifier = repoze.who.classifiers:default_request_classifier
-# challenge_decider = repoze.who.classifiers:default_challenge_decider
-challenge_decider = repoze.who.plugins.openid.classifiers:openid_challenge_decider
-
-[identifiers]
-plugins =
- friendlyform;browser
- openid
- auth_tkt
-
-[authenticators]
-plugins =
- ckan.lib.authenticator:OpenIDAuthenticator
- ckan.lib.authenticator:UsernamePasswordAuthenticator
-
-[challengers]
-plugins =
- openid
- friendlyform;browser
-# basicauth
-
View
1  who.ini
Please sign in to comment.
Something went wrong with that request. Please try again.