directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r824754 - /directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ServerXmlIOV155.java
Date Tue, 13 Oct 2009 13:37:12 GMT
Author: pamarcelot
Date: Tue Oct 13 13:37:11 2009
New Revision: 824754

URL: http://svn.apache.org/viewvc?rev=824754&view=rev
Log:
Fixed the writer for Apache DS 1.5.5 configuration file.

Modified:
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ServerXmlIOV155.java

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ServerXmlIOV155.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ServerXmlIOV155.java?rev=824754&r1=824753&r2=824754&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ServerXmlIOV155.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ServerXmlIOV155.java
Tue Oct 13 13:37:11 2009
@@ -1414,6 +1414,10 @@
         {
             interceptorsElement.addElement( ServerXmlIOV155.ELEMENT_AUTHENTICATION_INTERCEPTOR
);
         }
+        if ( interceptors.contains( InterceptorEnum.REFERRAL ) )
+        {
+            interceptorsElement.addElement( ServerXmlIOV155.ELEMENT_REFERRAL_INTERCEPTOR
);
+        }
         if ( interceptors.contains( InterceptorEnum.ACI_AUTHORIZATION ) )
         {
             interceptorsElement.addElement( ServerXmlIOV155.ELEMENT_ACI_AUTHORIZATION_INTERCEPTOR
);
@@ -1723,10 +1727,10 @@
             }
 
             // LDAPS
-            if ( serverConfiguration.isEnableLdap() )
+            if ( serverConfiguration.isEnableLdaps() )
             {
                 // Adding 'tcpTransport' element
-                Element tcpTransportElement = transportsElement.addElement( ServerXmlIOV155.ELEMENT_UDP_TRANSPORT
);
+                Element tcpTransportElement = transportsElement.addElement( ServerXmlIOV155.ELEMENT_TCP_TRANSPORT
);
 
                 // Address
                 tcpTransportElement.addAttribute( ServerXmlIOV155.ATTRIBUTE_ADDRESS,
@@ -1736,10 +1740,6 @@
                 tcpTransportElement.addAttribute( ServerXmlIOV155.ATTRIBUTE_PORT, "" //$NON-NLS-1$
                     + serverConfiguration.getLdapsPort() );
 
-                // NbThreads
-                tcpTransportElement.addAttribute( ServerXmlIOV155.ATTRIBUTE_NBTHREADS,
-                    ServerXmlIOV155.VALUE_CHANGEPASSWORDSERVER_NB_THREADS );
-
                 // EnableSSL
                 tcpTransportElement.addAttribute( ServerXmlIOV155.ATTRIBUTE_ENABLESSL, ""
+ true ); //$NON-NLS-1$
             }



Mime
View raw message