-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathextension.json
121 lines (121 loc) · 4.23 KB
/
extension.json
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "LdapAuth",
"version": "0.0.5",
"author": [
"Shane Thompson <[email protected]>",
"Leonid Verhovskij <[email protected]>"
],
"descriptionmsg": "ldapauth-desc",
"url": "https://www.mediawiki.org/wiki/Extension:LdapAuth",
"license-name": "MIT",
"type": "auth",
"requires": {
"MediaWiki": ">= 1.27.0"
},
"ConfigRegistry": {
"LdapAuth": "Shanept\\LdapAuth\\Hooks\\Config::makeConfig"
},
"AuthManagerAutoConfig": {
"primaryauth": {
"Shanept\\LdapAuth\\Auth\\PrimaryAuthenticationProvider": {
"class": "Shanept\\LdapAuth\\Auth\\PrimaryAuthenticationProvider",
"sort": 0
}
}
},
"MessagesDirs": {
"LdapAuth": [
"i18n"
]
},
"AutoloadNamespaces": {
"Shanept\\LdapAuth\\": "src/"
},
"Hooks": {
"AuthPluginSetup": "Shanept\\LdapAuth\\Hooks\\Config::go"
},
"config_prefix": "wgLdapAuth",
"config": {
"DomainNames": {
"value": false,
"description": "Specifies the LDAP domain (CN) to which we are connecting. Domains may be space-delimited, comma-delimited, or an array.",
"public": true
},
"Servers": {
"value": false,
"description": "Specifies a list of servers to authenticate each domain.",
"public": true
},
"BindDN": {
"value": false,
"description": "Specifies the distinguished name upon which to perform the bind.",
"public": true
},
"BindPass": {
"value": false,
"description": "Specifies the password upon which to perform the bind.",
"public": true
},
"BaseDN": {
"value": false,
"description": "Specifies the DN within which a search is performed.",
"public": true
},
"SearchTree": {
"value": true,
"description": "Specifies whether or not to perform a recursive search on the BaseDN.",
"public": true
},
"SearchFilter": {
"value": "(&(objectCategory=person)(objectClass=user)(!(UserAccountControl:1.2.840.113556.1.4.803:=2))(|(sAMAccountName=%1$s*)(firstName=%1$s*)(lastName=%1$s*)(displayName=%1$s*)))",
"description": "The filter to be used when performing a search. By default, searches may be performed against first name, last name or username. Disabled accounts are filtered.",
"public": true
},
"EncryptionType": {
"value": false,
"description": "The encryption method to use on the connection. Valid values are false, 'ssl', 'tls'.",
"public": true
},
"UseLocal": {
"value": false,
"description": "Specifies whether local authentication may be performed against the MediaWiki database.",
"public": true
},
"RequireDomain": {
"value": false,
"description": "Requires the user select a domain, even if there is only one to select from.",
"public": true
},
"MapGroups": {
"value": [],
"description": "Maps LDAP groups to equivalent MediaWiki groups.",
"public": true
},
"CacheGroupMap": {
"value": 3600,
"description": "Specifies the period of time for which LDAP grouping should be synced for a user.",
"public": true
},
"IsActiveDirectory": {
"value": false,
"description": "Are we connecting to an Active-Directory LDAP server?",
"public": true
},
"IsOpenLDAP": {
"value": false,
"description": "Are we connecting to an OpenLDAP server?",
"public": true
},
"UsernameField": {
"value": "sAMAccountName",
"description": "Specifies the LDAP/AD Field containing the username.",
"public": true
},
"DisplayNameField": {
"value": "displayName",
"description": "Specifies the LDAP/AD Field containing the display name.",
"public": true
}
},
"manifest_version": 2
}