General information

Who: Sebastien Bahloul

When: first release 13/04/2008, never updated

Summary: How updated attributes may be altered by synchronization options

Technical details

There are different types of synchronization options, but they all share one main goal: altering attribute update strategy. A synchronization option is specified for a whole task.

In fact, you may need to adapt the way attributes are synchronized according to your context. Sometimes you may want to force the data source values, sometimes you may want to keep the target directory values. You may also want to replace the value with the result of an operation based on other values.

There are different synchronization option implementations:

  • (default) force-all synchronization options
  • properties based synchronization options


A sample synchronization options definition cut from :

lsc.syncoptions.sampleTask = org.interldap.lsc.beans.syncoptions.PropertiesBasedSyncOptions
lsc.syncoptions.sampleTask.default.action = K
lsc.syncoptions.sampleTask.sampleAttribute.action = K
lsc.syncoptions.sampleTask.sampleAttribute.create_value = someSampleValue

You can see in this sample that there is a policy definition for the 'sampleTask' task: properties base synchronizations options. The following options are read and used by this policy engine.

In the following synchronization options definition, the default policy - force all - is used for the 'sampleTask2' task.

lsc.syncoptions.sampleTask2 = org.interldap.lsc.beans.syncoptions.ForceSyncOptions