directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1196866 - in /directory/apacheds/branches/apacheds-txns/interceptors: authn/src/main/java/org/apache/directory/server/core/authn/ authz/src/main/java/org/apache/directory/server/core/authz/ changelog/src/main/java/org/apache/directory/serv...
Date Wed, 02 Nov 2011 23:36:11 GMT
Author: elecharny
Date: Wed Nov  2 23:36:10 2011
New Revision: 1196866

URL: http://svn.apache.org/viewvc?rev=1196866&view=rev
Log:
o Fixed a double lookup done in AciAuthz
o Removed useless imports
o Removed a duplicate interceptor in a bypass

Modified:
    directory/apacheds/branches/apacheds-txns/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
    directory/apacheds/branches/apacheds-txns/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java
    directory/apacheds/branches/apacheds-txns/interceptors/changelog/src/main/java/org/apache/directory/server/core/changelog/ChangeLogInterceptor.java

Modified: directory/apacheds/branches/apacheds-txns/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java?rev=1196866&r1=1196865&r2=1196866&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
(original)
+++ directory/apacheds/branches/apacheds-txns/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Wed Nov  2 23:36:10 2011
@@ -156,7 +156,6 @@ public class AuthenticationInterceptor e
         c.add( "NormalizationInterceptor" );
         c.add( "AuthenticationInterceptor" );
         c.add( "AciAuthorizationInterceptor" );
-        c.add( "AdministrativePointInterceptor" );
         c.add( "DefaultAuthorizationInterceptor" );
         c.add( "AdministrativePointInterceptor" );
         c.add( "ExceptionInterceptor" );

Modified: directory/apacheds/branches/apacheds-txns/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java?rev=1196866&r1=1196865&r2=1196866&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java
(original)
+++ directory/apacheds/branches/apacheds-txns/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java
Wed Nov  2 23:36:10 2011
@@ -953,7 +953,7 @@ public class AciAuthorizationInterceptor
 
         checkLookupAccess( lookupContext, entry );
 
-        return next.lookup( lookupContext );
+        return entry;
     }
 
 

Modified: directory/apacheds/branches/apacheds-txns/interceptors/changelog/src/main/java/org/apache/directory/server/core/changelog/ChangeLogInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/interceptors/changelog/src/main/java/org/apache/directory/server/core/changelog/ChangeLogInterceptor.java?rev=1196866&r1=1196865&r2=1196866&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/interceptors/changelog/src/main/java/org/apache/directory/server/core/changelog/ChangeLogInterceptor.java
(original)
+++ directory/apacheds/branches/apacheds-txns/interceptors/changelog/src/main/java/org/apache/directory/server/core/changelog/ChangeLogInterceptor.java
Wed Nov  2 23:36:10 2011
@@ -20,9 +20,7 @@ package org.apache.directory.server.core
 
 
 import java.util.ArrayList;
-import java.util.Collection;
 import java.util.List;
-import java.util.Set;
 
 import org.apache.directory.server.constants.ApacheSchemaConstants;
 import org.apache.directory.server.constants.ServerDNConstants;
@@ -110,7 +108,7 @@ public class ChangeLogInterceptor extend
         Entry addEntry = addContext.getEntry();
 
         // we don't want to record addition of a tag as a change
-        if( addEntry.get( REV_AT_OID ) != null )
+        if ( addEntry.get( REV_AT_OID ) != null )
         {
            return; 
         }



Mime
View raw message