Synchronization Validation Script
The following script is a shell which can be used as a validation script as part of the synchronization process.
import org.openiam.provision.type.Attributeimport org.openiam.idm.srvc.synch.dto.LineObjectimport org.openiam.sync.service.ValidationScriptclass LdapValidationScript implements ValidationScript {public int isValid(LineObject rowObj) {println "** 1 - Validation script called for ldap"println "** 2 - Validation script for ldap has been completed and is valid."for(Map.Entry<String, Attribute> entry : rowObj.columnMap.entrySet()) {println(entry.key+" = "+entry.value);}return ValidationScript.VALID}}