directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1183555 - in /directory/apacheds/trunk/core/src: main/java/org/apache/directory/server/core/ main/java/org/apache/directory/server/core/admin/ main/java/org/apache/directory/server/core/authn/ main/java/org/apache/directory/server/core/aut...
Date Fri, 14 Oct 2011 23:27:28 GMT
Author: elecharny
Date: Fri Oct 14 23:27:26 2011
New Revision: 1183555

URL: http://svn.apache.org/viewvc?rev=1183555&view=rev
Log:
last drop of modifciation for the interceptors decoupling

Removed:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDnFactory.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/ReferralManagerImpl.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/admin/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AbstractAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AnonymousAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/Authenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/DelegatingAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/EncryptionMethod.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/PasswordHistory.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/PasswordUtil.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/SimpleAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/StrongAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/ppolicy/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/AciAuthorizationInterceptor.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationInterceptor.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/TupleCache.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/support/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/changelog/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/collective/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/event/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/exception/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/hash/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/journal/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/logger/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/normalization/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/operational/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/referral/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/sp/LdapClassLoader.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/sp/StoredProcEngine.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/sp/StoredProcEngineConfig.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/sp/StoredProcExecutionManager.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/sp/StoredProcUtils.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/sp/java/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/subtree/
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/trigger/
    directory/apacheds/trunk/core/src/main/resources/org/apache/directory/server/core/partition/
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/authn/
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/authz/support/
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/changelog/
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/normalization/
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/schema/
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/sp/
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/subtree/
Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java?rev=1183555&r1=1183554&r2=1183555&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Fri Oct 14 23:27:26 2011
@@ -79,10 +79,11 @@ import org.apache.directory.server.core.
 import org.apache.directory.server.core.journal.JournalInterceptor;
 import org.apache.directory.server.core.normalization.NormalizationInterceptor;
 import org.apache.directory.server.core.operational.OperationalAttributeInterceptor;
-import org.apache.directory.server.core.partition.DefaultPartitionNexus;
 import org.apache.directory.server.core.referral.ReferralInterceptor;
 import org.apache.directory.server.core.schema.SchemaInterceptor;
 import org.apache.directory.server.core.security.TlsKeyGenerator;
+import org.apache.directory.server.core.shared.DefaultDnFactory;
+import org.apache.directory.server.core.shared.partition.DefaultPartitionNexus;
 import org.apache.directory.server.core.subtree.SubentryInterceptor;
 import org.apache.directory.server.core.trigger.TriggerInterceptor;
 import org.apache.directory.server.i18n.I18n;
@@ -463,13 +464,12 @@ public class DefaultDirectoryService imp
 
         for ( Interceptor interceptor : interceptors )
         {
-            String name = interceptor.getName();
-
-            if ( names.contains( name ) )
+            if ( names.contains( interceptor.getName() ) )
             {
                 LOG.warn( "Encountered duplicate definitions for {} interceptor", interceptor.getName()
);
             }
-            names.add( name );
+            
+            names.add( interceptor.getName() );
         }
 
         this.interceptors = interceptors;
@@ -1938,7 +1938,7 @@ public class DefaultDirectoryService imp
      */
     public boolean isPwdPolicyEnabled()
     {
-        AuthenticationInterceptor authenticationInterceptor = (AuthenticationInterceptor)getInterceptor(
AuthenticationInterceptor.class.getName() );
+        AuthenticationInterceptor authenticationInterceptor = (AuthenticationInterceptor)getInterceptor(
AuthenticationInterceptor.class.getSimpleName() );
         
         if ( authenticationInterceptor == null )
         {



Mime
View raw message