> You can script conditions for create, update, delete: returning false will 
> prevent the action, returning true will allow it.
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.
_______________________________________________________________
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