Return-Path: Delivered-To: apmail-incubator-directory-cvs-archive@www.apache.org Received: (qmail 60129 invoked from network); 3 Dec 2004 08:10:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 08:10:26 -0000 Received: (qmail 50649 invoked by uid 500); 3 Dec 2004 08:10:25 -0000 Delivered-To: apmail-incubator-directory-cvs-archive@incubator.apache.org Received: (qmail 50609 invoked by uid 500); 3 Dec 2004 08:10:25 -0000 Mailing-List: contact directory-cvs-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: directory-dev@incubator.apache.org Delivered-To: mailing list directory-cvs@incubator.apache.org Received: (qmail 50586 invoked by uid 99); 3 Dec 2004 08:10:25 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Dec 2004 00:10:24 -0800 Received: (qmail 60032 invoked by uid 65534); 3 Dec 2004 08:10:23 -0000 Date: 3 Dec 2004 08:10:23 -0000 Message-ID: <20041203081023.60026.qmail@minotaur.apache.org> From: akarasulu@apache.org To: directory-cvs@incubator.apache.org Subject: svn commit: r109646 - /incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/AuthenticationService.java /incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/FailFastPipeline.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: akarasulu Date: Fri Dec 3 00:10:21 2004 New Revision: 109646 URL: http://svn.apache.org/viewcvs?view=rev&rev=109646 Log: Changes ... o added comment to exception thrown to indicate rejection of anonymous binds o fixed FFPipeline so exception that need not be wrapped are not wrapped Note ... o might be a good idea to just get rid of these interceptor exceptions and throw the appropriate LdapOperationsException or somethjings like that Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/AuthenticationService.java incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/FailFastPipeline.java Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/AuthenticationService.java Url: http://svn.apache.org/viewcvs/incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/AuthenticationService.java?view=diff&rev=109646&p1=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/AuthenticationService.java&r1=109645&p2=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/AuthenticationService.java&r2=109646 ============================================================================== --- incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/AuthenticationService.java (original) +++ incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/AuthenticationService.java Fri Dec 3 00:10:21 2004 @@ -98,7 +98,7 @@ } else { - throw new LdapNoPermissionException( "" ); + throw new LdapNoPermissionException( "Anonymous bind NOT permitted!" ); } } Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/FailFastPipeline.java Url: http://svn.apache.org/viewcvs/incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/FailFastPipeline.java?view=diff&rev=109646&p1=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/FailFastPipeline.java&r1=109645&p2=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/FailFastPipeline.java&r2=109646 ============================================================================== --- incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/FailFastPipeline.java (original) +++ incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/FailFastPipeline.java Fri Dec 3 00:10:21 2004 @@ -63,9 +63,9 @@ } catch ( Throwable throwable ) { - if ( throwable instanceof EveInterceptorException ) + if ( throwable instanceof NamingException ) { - throw ( EveInterceptorException ) throwable; + throw ( NamingException ) throwable; } EveInterceptorException ie;