-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwho.ini.sample
executable file
·48 lines (36 loc) · 1.38 KB
/
who.ini.sample
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
# who.ini file which configure authentication in the project
[plugin:ticket]
# Cookie-based session identification storage
use = biorepo.lib.auth_plugin:make_plugin
secret = '975caff3876fdd38214a9cff43484cf8bc712915'
cookie_name = 'auth_ticket'
serv_url = 'http://localhost:8080'
[plugin:auth]
use = biorepo.lib.auth_plugin:make_plugin_auth
[plugin:cl]
# Command-line-based identification plugin
use = biorepo.lib.auth_plugin:make_plugin_cl
[general]
request_classifier = biorepo.lib.auth_plugin:request_classifier
challenge_decider = repoze.who.classifiers:default_challenge_decider
remote_user_key = REMOTE_USER
[identifiers]
# We can decide who the user is trying to identify as using either
# a fresh form-post, or the session identifier cookie
plugins =
cl;command_line
ticket;browser
[authenticators]
plugins =
auth
[challengers]
plugins =
cl;command_line
ticket;browser
[mdproviders]
# Metadata providers are the things that actually look up a user's credentials
# here we have a plugin that provides "user" information (user) and another,
# which acts as an adapter to the first, to provide group/permission information.
plugins =
biorepo.lib.auth:user
biorepo.lib.auth:group