--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
+<service-builder package-path="com.pentila.entSavoie.userManagement">
+ <author>Alexandre Lefèvre</author>
+ <namespace>UserManagement</namespace>
+
+ <!-- This service map all the data need from the LDAP for NERO. This avoid to call the LDAP which is performance killer
+ For each data you need to add to database do theses steps:
+ - Add a column to the LDAPMapping entity
+ - Add a setter and getter (if needed) like those already existing in Class LDAPMappingLocalServiceImpl
+ - Compile services & copy the userManagement-portlet-service.jar in ent-ext/docroot/WEB-INF/ext-lib/global
+ - add the setter in PortalLDAPUtil like those already existing (search "USER MAPPING" word to find the lines concerned) => this permit to load it at LDAP synchronize
+ - direct deploy on ent-ext
+ - deploy on UserManagement-portlet
+ - restart server. -->
+ <entity name="LDAPMapping" local-service="true" remote-service="false">
+ <!-- PK fields -->
+ <column name="UserId" type="long" primary="true" />
+ <column name="UID" type="String" />
+
+ <finder return-type="LDAPMapping" name="UID">
+ <finder-column name="UID"></finder-column>
+ </finder>
+ </entity>
+
+ <entity name="UsersUtils" local-service="true" remote-service="false">
+ </entity>
+</service-builder>
\ No newline at end of file