Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 40461 invoked from network); 3 Jun 2006 19:13:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jun 2006 19:13:02 -0000 Received: (qmail 92502 invoked by uid 500); 3 Jun 2006 19:13:02 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 92456 invoked by uid 500); 3 Jun 2006 19:13:01 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 92445 invoked by uid 99); 3 Jun 2006 19:13:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jun 2006 12:13:01 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of aok123@bellsouth.net designates 205.152.59.72 as permitted sender) Received: from [205.152.59.72] (HELO imf24aec.mail.bellsouth.net) (205.152.59.72) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jun 2006 12:13:01 -0700 Received: from ibm70aec.bellsouth.net ([192.168.16.253]) by imf24aec.mail.bellsouth.net with ESMTP id <20060603191239.BCWB25207.imf24aec.mail.bellsouth.net@ibm70aec.bellsouth.net> for ; Sat, 3 Jun 2006 15:12:39 -0400 Received: from mail.bellsouth.net ([192.168.16.253]) by ibm70aec.bellsouth.net with SMTP id <20060603191239.MGXD5063.ibm70aec.bellsouth.net@mail.bellsouth.net> for ; Sat, 3 Jun 2006 15:12:39 -0400 X-Mailer: Openwave WebEngine, version 2.8.16.1 (webedge20-101-1106-101-20040924) X-Originating-IP: [65.80.200.112] From: Alex Karasulu Organization: Solarsis Group To: Subject: [ApacheDS] Gettting an OID to Normalizer map for LdapDN Date: Sat, 3 Jun 2006 15:12:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20060603191239.MGXD5063.ibm70aec.bellsouth.net@mail.bellsouth.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I was looking at LdapDN.normalize() which takes another LdapDN and an OID to normalizer map. Emmanuel these OID's are he OIDs of attributeTypes correct? Also I created a new method in AttributeTypeRegistry called getNormalizerMapping(). The registry will manage and cache the normalizers for attributeTypes by accessing the equality match matching rule of the attributeType and getting it's normalizer. Then it will add the normalizer to the map by OID and by name. I implemented this method in the BootstrapAttributeTypeRegistry and the GlobalAttributeTypeRegistry and committed it in revision 411456 here: http://svn.apache.org/viewvc?view=rev&revision=411456 Emmanuel we were talking about how and where from we can get this normalization map. I think this is the best place to build it and manage it. Because we can have the map updated by the registry when new attribute types are registered. WDYT? Alex