directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1546144 - in /directory/apacheds/trunk: core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Date Wed, 27 Nov 2013 18:11:24 GMT
Author: kayyagari
Date: Wed Nov 27 18:11:23 2013
New Revision: 1546144

URL: http://svn.apache.org/r1546144
Log:
minor changes for extendability (DIRSERVER-1920)

Modified:
    directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java

Modified: directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java?rev=1546144&r1=1546143&r2=1546144&view=diff
==============================================================================
--- directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java
(original)
+++ directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java
Wed Nov 27 18:11:23 2013
@@ -105,6 +105,13 @@ public class DefaultDirectoryServiceFact
     }
 
 
+    public DefaultDirectoryServiceFactory( DirectoryService directoryService, PartitionFactory
partitionFactory )
+    {
+        this.directoryService = directoryService;
+        this.partitionFactory = partitionFactory;
+    }
+    
+    
     /**
      * {@inheritDoc}
      */

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=1546144&r1=1546143&r2=1546144&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
Wed Nov 27 18:11:23 2013
@@ -1686,7 +1686,8 @@ public class DefaultDirectoryService imp
      * Displays security warning messages if any possible secutiry issue is found.
      * @throws Exception if there are failures parsing and accessing internal structures
      */
-    private void showSecurityWarnings() throws Exception
+    // made protected as per the request in DIRSERVER-1920
+    protected void showSecurityWarnings() throws Exception
     {
         // Warn if the default password is not changed.
         boolean needToChangeAdminPassword = false;



Mime
View raw message