-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwho.ini
49 lines (41 loc) · 1.14 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:friendlyform]
# Redirecting form which does login via a "post"
# from a regular /login form
use = repoze.who.plugins.friendlyform:FriendlyFormPlugin
login_form_url= /login
login_handler_path = /login_handler
logout_handler_path = /logout_handler
rememberer_name = auth_tkt
post_login_url =
post_logout_url =
[plugin:auth_tkt]
use = repoze.who.plugins.auth_tkt:make_plugin
secret = something
[plugin:ldap_auth]
use = bastion.lib.auth.ldap:LDAPSearchAuthenticatorPlugin
ldap_connection = ldaps://ldap.example.com
base_dn = ou=People,dc=example,dc=com
naming_attribute = uid
search_scope = subtree
returned_id = login
[plugin:ldap_attributes]
use = bastion.lib.auth.ldap:LDAPAttributesPlugin
ldap_connection = ldaps://ldap.example.com/
[general]
request_classifier = repoze.who.classifiers:default_request_classifier
challenge_decider = repoze.who.classifiers:default_challenge_decider
[identifiers]
plugins =
friendlyform;browser
auth_tkt
[authenticators]
plugins =
ldap_auth
[challengers]
plugins =
friendlyform;browser
[mdproviders]
plugins =
bastion.lib.auth:md_plugin
bastion.lib.auth:md_group_plugin
ldap_attributes