Issue #149 has been updated by Raphaël Ouazana. Target version changed from 2.1 to Not planned
---------------------------------------- Feature #149: Attribute value comparison should be more "LDAP-aware" http://tools.lsc-project.org/issues/149 Author: Raphaël Ouazana Status: New Priority: Normal Assigned to: Category: Core Target version: Not planned With LDAP, comparison of 2 attributes's values depends on their schema. Getting the schema from the directory and implementing all the matching rules is a little bloated... So I suggest to allow users to configure how they want their attributes to be compared, eg with: <pre> lsc.xxx.attr.matchingrule = caseInsensitive </pre> caseInsensitive should be a java class which implements eg. a java.Util.Comparator or maybe something simpler with only an equals method. Note that in some cases mathcingrules are a little complex. Eg for a dn: <pre> scn.xxx.member.matchingrule = dnMatch </pre> Then dnMatch should check for each value of each RDN component to get the right comparator. By default there should be a comparator that implements the equivalent of caseIgnoreMatch, ie if I recall correctly: trim+caseInsensitive. An alternate solution could be to normalize attributes values before comparing them. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-dev mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-dev

