On 21/02/2019 15:48, Lior Dotan wrote:
> Thanks, that indeed sounds like what I am looking for.
> But I couldn't get it to work. I tried to debug it with the following code:
>                                 <conditions>
>                                  <create><![CDATA[rjs:
> 
> java.lang.System.out.println('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^');
> 
> java.lang.System.out.println(srcBean.getDatasetFirstValueById('dn'));
> 
> java.lang.System.out.println('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^');
>                                        true;]]></create>
>                                   <update>true</update>
>                                  <delete>true</delete>
>                                  <changeId>true</changeId>
>                                </conditions>
> 
> and it looks like srcBean.getDatasetFirstValueById('dn') returns an
> empty string.
> _________________

Hi Lior,

Full DN can be accessed with srcBean.getMainIdentifier().

https://lsc-project.org/javadoc/2.1-SNAPSHOT/org/lsc/beans/LscBean.html

Regards
-- 
Soisik Froger | Software Architect

[email protected]
+33 6 49 00 09 55

Worteks | https://www.worteks.com
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to