<parameters>
<param id="runtime.users.ldap.datasource" type="datasource">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_DATASOURCE_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_DATASOURCE_DESCRIPTION</description>
<widget>edition.datasource-ldap</widget>
<widget-params>
<param name="allowCreation">true</param>
</widget-params>
<validation>
<mandatory/>
</validation>
</param>
<param id="runtime.users.ldap.peopleDN" type="string">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_PEOPLEDN_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_PEOPLEDN_DESCRIPTION</description>
<default-value>ou=people</default-value>
</param>
<param id="runtime.users.ldap.baseFilter" type="string">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_BASEFILTER_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_BASEFILTER_DESCRIPTION</description>
<validation>
<mandatory/>
<regexp>\s*\(.*\)\s*</regexp>
</validation>
<default-value>(objectclass=*)</default-value>
</param>
<param id="runtime.users.ldap.scope" type="string">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_SEARCH_SCOPE_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_SEARCH_SCOPE_DESCRIPTION</description>
<enumeration>
<custom-enumerator class="org.ametys.core.util.ldap.ScopeEnumerator"/>
</enumeration>
<validation>
<mandatory/>
</validation>
<default-value>one</default-value>
</param>
<param id="runtime.users.ldap.loginAttr" type="string">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_LOGIN_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_LOGIN_DESCRIPTION</description>
<validation>
<mandatory/>
</validation>
<default-value>uid</default-value>
</param>
<param id="runtime.users.ldap.firstnameAttr" type="string">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_FIRSTNAME_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_FIRSTNAME_DESCRIPTION</description>
<default-value>givenName</default-value>
</param>
<param id="runtime.users.ldap.lastnameAttr" type="string">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_LASTNAME_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_LASTNAME_DESCRIPTION</description>
<validation>
<mandatory/>
</validation>
<default-value>sn</default-value>
</param>
<param id="runtime.users.ldap.emailAttr" type="string">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_EMAIL_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_EMAIL_DESCRIPTION</description>
<validation>
<mandatory/>
</validation>
<default-value>mail</default-value>
</param>
<param id="runtime.users.ldap.emailMandatory" type="boolean">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_EMAIL_MANDATORY_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_ATTR_EMAIL_MANDATORY_DESCRIPTION</description>
<default-value>false</default-value>
</param>
<param id="runtime.users.ldap.serverSideSorting" type="boolean">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_SERVER_SIDE_SORTING_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CONFIG_SERVER_SIDE_SORTING_DESCRIPTION</description>
<default-value>true</default-value>
</param>
<param-checker id="runtime.users.ldap.checker" class="org.ametys.plugins.core.impl.checker.LdapUserDirectoryChecker">
<label i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CHECKER_LABEL</label>
<description i18n="true">PLUGINS_CORE_USERS_LDAPUSER_CHECKER_DESCRIPTION</description>
<icon-small>img/config/check/test_ldapconnect_16.png</icon-small>
<icon-medium>img/config/check/test_ldapconnect_32.png</icon-medium>
<icon-large>img/config/check/test_ldapconnect_48.png</icon-large>
<linked-params>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.datasource"/>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.peopleDN"/>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.baseFilter"/>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.scope"/>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.loginAttr"/>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.firstnameAttr"/>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.lastnameAttr"/>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.emailAttr"/>
<param-ref id="org.ametys.plugins.core.user.directory.Ldap$runtime.users.ldap.emailMandatory"/>
</linked-params>
</param-checker>
</parameters>