directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r952713 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationInterceptor.java
Date Tue, 08 Jun 2010 16:08:33 GMT
Author: elecharny
Date: Tue Jun  8 16:08:32 2010
New Revision: 952713

URL: http://svn.apache.org/viewvc?rev=952713&view=rev
Log:
Fixed a potential problem in the way we compare a DN with a String. Strange that it ever worked
...

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationInterceptor.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationInterceptor.java?rev=952713&r1=952712&r2=952713&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationInterceptor.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationInterceptor.java
Tue Jun  8 16:08:32 2010
@@ -272,7 +272,7 @@ public class DefaultAuthorizationInterce
                 return;
             }
 
-            if ( dn.equals( ServerDNConstants.ADMIN_SYSTEM_DN ) )
+            if ( dn.equals( ADMIN_SYSTEM_DN ) )
             {
                 String msg = I18n.err( I18n.ERR_18, principalDn.getName() );
                 LOG.error( msg );



Mime
View raw message