Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 93849 invoked from network); 23 Feb 2007 19:21:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 19:21:29 -0000 Received: (qmail 97926 invoked by uid 500); 23 Feb 2007 19:21:36 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 97709 invoked by uid 500); 23 Feb 2007 19:21:36 -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 97679 invoked by uid 99); 23 Feb 2007 19:21:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 11:21:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 11:21:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DDEE07141F8 for ; Fri, 23 Feb 2007 11:21:05 -0800 (PST) Message-ID: <28152917.1172258465905.JavaMail.jira@brutus> Date: Fri, 23 Feb 2007 11:21:05 -0800 (PST) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Assigned: (DIRSERVER-832) Added Attributes are all case sensitive In-Reply-To: <8710254.1169337269950.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Karasulu reassigned DIRSERVER-832: --------------------------------------- Assignee: Alex Karasulu > Added Attributes are all case sensitive > --------------------------------------- > > Key: DIRSERVER-832 > URL: https://issues.apache.org/jira/browse/DIRSERVER-832 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.0, 1.0 > Reporter: Emmanuel Lecharny > Assigned To: Alex Karasulu > Priority: Blocker > Fix For: 1.5.0 > > > The server is working, but this is pure luck ! > When we add some attribute, like ObjectClass, the values are added into it caseSensitive. > For instance, adding 'person' and 'PERSON' is just adding two values into the attribute. > So far, so good. Now, we have many places in the server where wo do case sensitive comparizon on suposely case insensitive values (like for objectclasses). For instance, in SchemService : > ... > private int getSubentryTypes( Attributes subentry ) throws NamingException > { > int types = 0; > > Attribute oc = subentry.get( "objectClass" ); > > if ( oc.contains( "accessControlSubentry" ) ) <<<--------------- This is DAMN WRONG !!! > ... > At this point, I suspect the 1.0.0 version is not amendable. We must fix it in 1.5, using the MatchingRules to manage comparizons on attributes. > I hope I'm totally wrong, but I'm really scared... It looks like you go to the doctor wor that little red spot on your skin, and it turns out you have a hopeless cancer ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.