Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
Add who.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed May 17, 2011
1 parent 2dcb78b commit 3aa058e
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions templates/who.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[plugin:auth_tkt]
# identification and authentication
use = repoze.who.plugins.auth_tkt:make_plugin
secret = ${who-ini:secret}
cookie_name = oatmeal
secure = False
include_ip = False

[plugin:basicauth]
# identification and challenge
use = repoze.who.plugins.basicauth:make_plugin
realm = 'Zope'

[plugin:htpasswd]
# authentication
use = repoze.who.plugins.htpasswd:make_plugin
filename = %(here)s/passwd
#check_fn = repoze.who.plugins.htpasswd:crypt_check
check_fn = repoze.who.plugins.htpasswd:plain_check

[general]
request_classifier = repoze.who.classifiers:default_request_classifier
challenge_decider = repoze.who.classifiers:default_challenge_decider
remote_user_key = REMOTE_USER

[identifiers]
# plugin_name;classifier_name:.. or just plugin_name (good for any)
plugins =
auth_tkt
basicauth

[authenticators]
# plugin_name;classifier_name.. or just plugin_name (good for any)
plugins =
auth_tkt
htpasswd

[challengers]
# plugin_name;classifier_name:.. or just plugin_name (good for any)
plugins =
basicauth

[mdproviders]
plugins =

0 comments on commit 3aa058e

Please sign in to comment.