Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 92237 invoked from network); 13 Dec 2010 13:54:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Dec 2010 13:54:34 -0000 Received: (qmail 21555 invoked by uid 500); 13 Dec 2010 13:54:34 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 21404 invoked by uid 500); 13 Dec 2010 13:54:31 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 21390 invoked by uid 99); 13 Dec 2010 13:54:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 13:54:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 13:54:28 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBDDs6FX026011 for ; Mon, 13 Dec 2010 13:54:07 GMT Message-ID: <16068246.90151292248446911.JavaMail.jira@thor> Date: Mon, 13 Dec 2010 08:54:06 -0500 (EST) From: "Alasdair Nottingham (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Work started: (ARIES-515) Exceptions being hidden when thrown by InitialContextFactory from a Builder In-Reply-To: <26075266.90011292247005511.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ARIES-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on ARIES-515 started by Alasdair Nottingham. > Exceptions being hidden when thrown by InitialContextFactory from a Builder > --------------------------------------------------------------------------- > > Key: ARIES-515 > URL: https://issues.apache.org/jira/browse/ARIES-515 > Project: Aries > Issue Type: Bug > Components: JNDI > Affects Versions: 0.3 > Reporter: Alasdair Nottingham > Assignee: Alasdair Nottingham > Fix For: 0.3 > > > A common use of JNDI is to perform authentication against an LDAP registry of users. This typically works by going new InitialDirContext(props) where the props contains a userid/password. This requires the AuthenticationException to be thrown from the InitialDirContext constructor. When used with the default JNDI implementation what actually happens is you get a NoInitialContextException because the creation of the Context fails and if the ICF was created from an ICFB then the exception is swallowed rather than rethrown. > Alasdair -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.