From version < 9.1 >
edited by nlo
on 09.05.2019, 15:13
To version < 7.1 >
edited by gru
on 25.03.2019, 11:57
< >
Change comment: Copied from xwiki:Main.UserInterface.Data.LDAPQueries

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.nlo
1 +XWiki.gru
Content
... ... @@ -1,19 +1,17 @@
1 1  {{content/}}
2 2  
3 -LDAP requests work similarly to [[database requests>>doc:Formcycle.UserInterface.Data.DBQueries]] and [[data sources>>doc:Sources]]. They can be used to retrieve data from an LDAP server dynamically.
3 +LDAP requests work similarly to [[database requests>>doc:Formcycle.UserInterface.Data.DBQueries]] and [[data sources>>doc:Quellen]]. They can be used to retrieve data from an LDAP server dynamically.
4 4  If you need to filter the returned data, you can also add an appropriate LDAP filter.
5 5  
6 6  == Creating an LDAP query ==
7 7  
8 -{{id name="fig_data_ldap_query"/}}
9 -{{figure image="data_ldap_query_en.png"}}Configuration screen for creating LDAP queries: (1) list of existing LDAP queries, (2) editor for defining the query, (3) settings panel of the query, (4) attribute filters for the query, (5) Generated servlet URL for using the LDAP query, (6) console for testing the query{{/figure}}
8 +{{figure image="067En.png" width="300"/}}
10 10  
11 -* Open the module "LDAP queries" and click "New" {{ficon name="plus-circle-outline"/}} in the header of the list (see point 1 in [[figure>>||anchor="fig_data_ldap_query"]]).
12 12  * Provide a name for the LDAP query, and optionally a description.
13 -* Select the LDAP connection to use; either [[client>>doc:Client]]'s LDAP connection or another custom [[LDAP connection>>doc:LDAPConnections]].
11 +* Select the LDAP connection to use; either [[client>>doc:MandantenMenue]]'s LDAP connection or another custom [[LDAP connection>>doc:LDAPVerbindung]].
14 14  * Enter the base DN (distinguished name) for the query. This is the root path for the LDAP search.
15 -* Enter the LDAP query with the //LDAP// filter syntax in the editor, [[see here for a tutorial>>url:http://www.selfadsi.de/ldap-filter.htm#FilterDef||rel="__blank"]]). You may also use placeholders (question mark, {{code}}?{{/code}}) that will be replaced with the values from a GET HTTP request for this LDAP query (see point 2 in [[figure>>||anchor="fig_data_ldap_query"]]).
16 -* Optionally, enter a list of attributes. The query will return only those attributes, filtered on the server. When no parameters are specified, all attributes will be returned (see point 4 in [[figure>>||anchor="fig_data_ldap_query"]]).
13 +* Enter the LDAP query with the //LDAP// filter syntax, [[see here for a tutorial>>url:http://www.selfadsi.de/ldap-filter.htm#FilterDef||rel="__blank"]]). You may also use placeholders (question mark, {{code}}?{{/code}}) that will be replaced with the values from a GET HTTP request for this LDAP query, see below.
14 +* Optionally, enter a list of attributes. The query will return only those attributes, filtered on the server. When no parameters are specified, all attributes will be returned.
17 17  
18 18  == Using LDAP queries ==
19 19  
... ... @@ -23,7 +23,6 @@
23 23  http://<server>/formcycle/datenabfrageldap
24 24  {{/code}}
25 25  
26 -The servlet URL will be displayed beneath the attribute filters (see point 5 in [[figure>>||anchor="fig_data_ldap_query"]]).
27 27  The following URL parameters are available:
28 28  
29 29  {{table dataTypeAlpha="0" preSort="0-asc"}}
Copyright 2000-2025