Latest Release
- Release candidate 2.0rc1 (23/12/11)
- Beta version 2.0 (06/07/11)
- Stable version 1.2.1 (15/07/10)
- Nightly builds available to test
Events
- 10/10/2011 - LDAPCon 2011 (Heidelberg, Germany)
- 13/06/2011 - RMLL (Strasbourg, France)
- 9/07/2010 - RMLL (Bordeaux, France)
Community
Get help, contribute or find professional services ...
Find out more!
Search
Download | Read more... | Get started!
Synchronization RulesSynchronization rules, also called syncOptions are defined through the lsc.syncoptions property. This section describes synchronization rule options available. You should replace TASKNAME by a task name specified in the global configuration option lsc.tasks. lsc.syncoptions.TASKNAMEThis is the full name of the JAVA class used to provide synchronization option mechanism. For this instance of LSC, you must use the org.lsc.beans.syncoptions.PropertiesBasedSyncOptions value. lsc.syncoptions.TASKNAME.default.actionDefault action on the destination directory. Here, three values are possible :
lsc.syncoptions.TASKNAME.<ATTRIBUTE>.create_valueSpecify the value for <ATTRIBUTE> in a newly created object in the destination. Note that if present, this value will be used for <ATTRIBUTE> if it's action type is K, F or M (and if <ATTRIBUTE> is in the lsc.tasks.TASKNAME.dstService.attrs list). This can contain a simple text value (between quotes) or a JavaScript function. Examples: lsc.syncoptions.TASKNAME.description.create_value = \ "Default description for new users" lsc.syncoptions.TASKNAME.employeeType.create_value = \ srcBean.getAttributeValueById("type") lsc.syncoptions.TASKNAME.uid.create_value = \ ldapdst.attr("cn=Values,o=company", "nextUidNumber") lsc.syncoptions.TASKNAME.<ATTRIBUTE>.default_valueSpecify the value for <ATTRIBUTE> in an existing entry in the destination, if it doesn't already have a value (if the action type is F and if <ATTRIBUTE> is in the lsc.tasks.TASKNAME.dstService.attrs list). This is useful for importing data into a directory that may be modified later, so that we don't overwrite it. This can contain a simple text value (between quotes) or a JavaScript function. Examples: lsc.syncoptions.TASKNAME.allowAccessToHomePhone.default_value = FALSE lsc.syncoptions.TASKNAME.<ATTRIBUTE>.force_valueSpecify the value for <ATTRIBUTE> in the destination if the action type is F, regardless of existing values (if <ATTRIBUTE> is in the lsc.tasks.TASKNAME.dstService.attrs list). This can contain a simple text value (between quotes) or a JavaScript function. Examples: lsc.syncoptions.TASKNAME.cn.force_value = \ srcBean.getAttributeValueById("givenName") \ + " " + srcBean.getAttributeValyeById("sn").toUpperCase() |


