forked from elasticio/ldap-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
component.json
68 lines (68 loc) · 2.45 KB
/
component.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
{
"title": "LDAP",
"description": "Lightweight Directory Access Protocol is an open, vendor-neutral, industry standard application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network. Directory services play an important role in developing intranet and Internet applications by allowing the sharing of information about users, systems, networks, services, and applications throughout the network. See https://github.com/elasticio/ldap-component for more documenation.",
"version": "1.0.3",
"credentials": {
"fields": {
"url": {
"label": "LDAP URL",
"required": true,
"viewClass": "TextFieldView",
"note": "The url for the LDAP instance to connect to including the port, hostname and protocol (ldap vs ldaps)",
"placeholder": "ldap://server.example.com:389"
},
"user": {
"label": "LDAP User",
"required": true,
"viewClass": "TextFieldView",
"note": "The username to authenticate as",
"placeholder": "uid=exampleUser,ou=user,dc=example,dc=com"
},
"password": {
"label": "LDAP password",
"required": true,
"viewClass": "PasswordFieldView"
}
}
},
"actions": {
"search": {
"title": "Search",
"main": "./lib/actions/search.js",
"help" : {
"description": "Performs an LDAP search",
"link": "/components/ldap/index.html#search"
},
"fields": {},
"metadata": {
"in": {
"type": "object",
"properties": {
"base": {
"title": "Base",
"type": "string",
"required": true,
"placeholder": "dc=com",
"note": "Root object in the directory for the search"
},
"filter": {
"title": "Filter",
"type": "string",
"required": true,
"placeholder": "(objectclass=*)",
"note": "See https://www.ldap.com/ldap-filters for more information about LDAP filters"
},
"scope": {
"title": "Search Scope",
"type": "string",
"required": true,
"enum": ["base", "one", "sub"],
"placeholder": "base",
"note": "See https://www.ldap.com/the-ldap-search-operation for more information about search scopes"
}
}
}
}
}
}
}