directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r158936 - directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java
Date Thu, 24 Mar 2005 19:01:37 GMT
Author: akarasulu
Date: Thu Mar 24 11:01:35 2005
New Revision: 158936

URL: http://svn.apache.org/viewcvs?view=rev&rev=158936
Log:
Fixed the problem reported by David Geleyn where disabling anonymous binds was
not taking effect.  Turns out to avoid a dep on the apacheds core in the ldap
protocol provider we did not use EnvKeys.DISABLE_ANONYMOUS but used the property
string.  The property key was eve.disable.anonymous but was changed in EnvKeys
to server.disable.anonymous.  So the feature stopped working.

Here's David's JIRA:

 http://issues.apache.org/jira/browse/DIREVE-149


Modified:
    directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java

Modified: directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java?view=diff&r1=158935&r2=158936
==============================================================================
--- directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java
(original)
+++ directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java
Thu Mar 24 11:01:35 2005
@@ -131,7 +131,7 @@
 
         if ( ictx == null && allowAnonymous )
         {
-            if ( env.containsKey( "eve.disable.anonymous" ) )
+            if ( env.containsKey( "server.disable.anonymous" ) )
             {
                 throw new LdapNoPermissionException( "Anonymous binds have been disabled!"
);
             }



Mime
View raw message