You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2004/12/03 09:10:23 UTC
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
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;