Migration from InterLDAP¶
Maven artefacts¶
To migrate from InterLDAP to LinID, change dependency in pom.xml from:
<!-- interldap WUI common -->
<dependency>
<groupId>org.interldap</groupId>
<artifactId>wui-common</artifactId>
<version>0.7.1</version>
</dependency>
to:
<!-- LinID -->
<dependency>
<groupId>org.linid.dm</groupId>
<artifactId>wui</artifactId>
<version>0.8</version>
<type>jar</type>
<optional>false</optional>
</dependency>
See the development guide to configure the new maven repositories.
Code refactoring¶
A lot of work can be done with Eclipse by selecting all source files and "Organize Imports" (Shift + Ctrl + O).
Then you need to fix all errors by hands. Some known errors:- InterldapAuthorizationException cannot be resolved to a type: change InterldapAuthorizationException to AuthorizationException and import org.linid.dm.authorization.AuthorizationException
- org.interldap cannot be resolved to a type: Replace org.interldap by org.linid.dm.
- Invalid bean definition with name 'eschemaClassDao': in Spring configuration files (springContext*.xml), replace org.interldap by org.linid.dm.
- Unable to locate asset 'classpath:org/linid/dm/wui/t5lib/components/ldapentry/minus-16x16.png' (the file does not exist): edit all templates using <t:edit.attributeeditor /> components, and manage plusicon and minusicon parameters. If it still does not work, copy minux-16x16.png and plus-16x16.png in your webapp/layout/images directory. If you run Eclipse, try to clean projects.