forked from Pylons/cartouche
-
Notifications
You must be signed in to change notification settings - Fork 0
/
who.ini
49 lines (42 loc) · 1.33 KB
/
who.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[plugin:redirector]
# identificaion and challenge
use = repoze.who.plugins.redirector:make_plugin
login_url = /login.html
came_from_param = came_from
[plugin:auth_tkt]
# identification and authentication
use = repoze.who.plugins.auth_tkt:make_plugin
secret = s33kr1t
cookie_name = oatmeal
secure = False
include_ip = False
[plugin:basicauth]
# identification and challenge
use = repoze.who.plugins.basicauth:make_plugin
realm = 'sample'
[plugin:cartouche]
use = cartouche.whoplugin:make_plugin
# This probably hsa to be ZEO, since we likely want to share with the
# main app. We can get away with this if we either have 'repoze.zodbconn'
# in the mix (so that the connection is always in the environment) or else
# register adapters for 'IRegistrations'.
zodb_uri = file://%(here)s/var/Data.fs
[general]
request_classifier = repoze.who.classifiers:default_request_classifier
challenge_decider = pyramid_who.classifiers:forbidden_challenger
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
cartouche
[challengers]
# plugin_name;classifier_name:.. or just plugin_name (good for any)
plugins =
redirector;browser
basicauth