Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 85301 invoked from network); 25 Jan 2007 14:29:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2007 14:29:45 -0000 Received: (qmail 15309 invoked by uid 500); 25 Jan 2007 14:29:51 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 15095 invoked by uid 500); 25 Jan 2007 14:29:50 -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 15084 invoked by uid 99); 25 Jan 2007 14:29:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jan 2007 06:29:50 -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; Thu, 25 Jan 2007 06:29:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 086F7410928 for ; Thu, 25 Jan 2007 06:29:18 -0800 (PST) Message-ID: <30053370.1169735357852.JavaMail.jira@brutus> Date: Thu, 25 Jan 2007 06:29:17 -0800 (PST) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-746) DefaultDirectoryService.createBootstrapEntries() throws NullPointerException if no authorizationService is configured In-Reply-To: <1673855.1158845189815.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-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467391 ] Emmanuel Lecharny commented on DIRSERVER-746: --------------------------------------------- Fixed in 1.0.1 : http://svn.apache.org/viewvc?view=rev&rev=499801 Fixed in 1.5.0 : http://svn.apache.org/viewvc?view=rev&rev=499802 > DefaultDirectoryService.createBootstrapEntries() throws NullPointerException if no authorizationService is configured > --------------------------------------------------------------------------------------------------------------------- > > Key: DIRSERVER-746 > URL: https://issues.apache.org/jira/browse/DIRSERVER-746 > Project: Directory ApacheDS > Issue Type: Bug > Components: core > Reporter: Bastiaan Bakker > Priority: Minor > Attachments: apacheds-1.0-RC4-authorizationservice.patch > > > DefaultDirectoryService.createBootstrapEntries() has a hardcoded dependency on AuthorizationService being configured as the 'authorizationService' interceptor. If one does not want to configure an authorizationService the code in question will throw a NullPointerException. Also if one does configure a different authorizationService implementation the code will throw a ClassCastException. > Clearly the code should not assume an AuthorizationService instance has been configured as the 'authorizationService' interceptor. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.