xref: /OpenGrok/plugins/sample-ldap-plugin-config.xml (revision 7f503075aef52facb7ac96908e6cdac7a35f0b02)
1<?xml version="1.0" encoding="UTF-8"?>
2<java version="1.8.0_65" class="java.beans.XMLDecoder">
3        <object class="opengrok.auth.plugin.configuration.Configuration">
4                <void property="interval">
5                        <int>900000</int>
6                </void>
7                <void property="searchTimeout">
8                        <int>500</int>
9                </void>
10                <void property="searchBase">
11                        <string>dc=foobar,dc=com</string>
12                </void>
13                <void property="connectTimeout">
14                        <int>5000</int>
15                </void>
16                <void property="countLimit">
17                        <int>100</int>
18                </void>
19                <void property="servers">
20                        <void method="add">
21                                <object class="opengrok.auth.plugin.ldap.LdapServer">
22                                        <void property="name">
23                                                <string>ldap://ldap1.foobar.com</string>
24                                        </void>
25                                        <void property="connectTimeout">
26                                                <int>5000</int>
27                                        </void>
28                                </object>
29                        </void>
30                        <void method="add">
31                                <object class="opengrok.auth.plugin.ldap.LdapServer">
32                                        <void property="name">
33                                                <string>ldap://ldap2.foobar.com</string>
34                                        </void>
35                                </object>
36                        </void>
37                </void>
38        </object>
39</java>
40