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