directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r713767 - /directory/apacheds/branches/apacheds-mina2/server-xml/src/main/resources/server.xml
Date Thu, 13 Nov 2008 18:16:50 GMT
Author: elecharny
Date: Thu Nov 13 10:16:50 2008
New Revision: 713767

URL: http://svn.apache.org/viewvc?rev=713767&view=rev
Log:
Changed the server.xml :
o removed all the references to DatagramAcceptor and SocketAcceptor.
o added the nbThreads attribute to the services
o changed ipPort to use tcp/udpPort instead

Modified:
    directory/apacheds/branches/apacheds-mina2/server-xml/src/main/resources/server.xml

Modified: directory/apacheds/branches/apacheds-mina2/server-xml/src/main/resources/server.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/server-xml/src/main/resources/server.xml?rev=713767&r1=713766&r2=713767&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/server-xml/src/main/resources/server.xml (original)
+++ directory/apacheds/branches/apacheds-mina2/server-xml/src/main/resources/server.xml Thu
Nov 13 10:16:50 2008
@@ -21,8 +21,8 @@
 
 
 <spring:beans xmlns:spring="http://xbean.apache.org/schemas/spring/1.0" 
-			  xmlns:s="http://www.springframework.org/schema/beans"
-			  xmlns="http://apacheds.org/config/1.0">
+              xmlns:s="http://www.springframework.org/schema/beans"
+              xmlns="http://apacheds.org/config/1.0">
 
   <defaultDirectoryService id="directoryService" instanceId="default"
                            workingDirectory="example.com"
@@ -74,6 +74,7 @@
     <interceptors>
       <normalizationInterceptor/>
       <authenticationInterceptor/>
+      <referralInterceptor/>
       <aciAuthorizationInterceptor/>
       <defaultAuthorizationInterceptor/>
       <exceptionInterceptor/>
@@ -104,56 +105,42 @@
     </interceptors>
   </defaultDirectoryService>
 
-  <standardThreadPool id="standardThreadPool" maxThreads="8"/>
-  <datagramAcceptor id="datagramAcceptor" logicExecutor="#standardThreadPool"/>
-  <socketAcceptor id="socketAcceptor" logicExecutor="#standardThreadPool"/>
-
 <!--  missing  atou=users,dc=example,dc=com
-  <changePasswordServer ipPort="60464">
+  <changePasswordServer ipPort="60464" nbThreads="8">
     <directoryService>#directoryService</directoryService>
-    <datagramAcceptor>#datagramAcceptor</datagramAcceptor>
-    <socketAcceptor>#socketAcceptor</socketAcceptor>
   </changePasswordServer>
 -->
 <!--  missing atou=users,dc=example,dc=com
-  <kdcServer ipPort="60088">
+  <kdcServer ipPort="60088" nbThreads="8">
     <directoryService>#directoryService</directoryService>
-    <datagramAcceptor>#datagramAcceptor</datagramAcceptor>
-    <socketAcceptor>#socketAcceptor</socketAcceptor>
   </kdcServer>
 -->
-  <ntpServer ipPort="60123">
-    <datagramAcceptor>#datagramAcceptor</datagramAcceptor>
-    <socketAcceptor>#socketAcceptor</socketAcceptor>
-  </ntpServer>
+  <ntpServer ipPort="60123" nbThreads="8"/>
 <!--  missing atou=users,dc=example,dc=com
-  <dnsServer ipPort="8053">
+  <dnsServer ipPort="8053" nbThreads="8">
     <directoryService>#directoryService</directoryService>
-    <datagramAcceptor>#datagramAcceptor</datagramAcceptor>
-    <socketAcceptor>#socketAcceptor</socketAcceptor>
   </dnsServer>
 -->
 
   <ldapService id="ldapsService"
               enabled="true"
-              ipPort="10636"
-              enableLdaps="true">
+              tcpPort="10636"
+              enableLdaps="true"
+              nbTcpThreads="8">
     <directoryService>#directoryService</directoryService>
-    <socketAcceptor>#socketAcceptor</socketAcceptor>
   </ldapService>
 
-
   <ldapService id="ldapService"
-              ipPort="10389"
+              tcpPort="10389"
               allowAnonymousAccess="false"
               saslHost="ldap.example.com"
               saslPrincipal="ldap/ldap.example.com@EXAMPLE.COM"
               searchBaseDn="ou=users,ou=system"
               maxTimeLimit="15000"
-              maxSizeLimit="1000">
+              maxSizeLimit="1000"
+              nbTcpThreads="8">
 
     <directoryService>#directoryService</directoryService>
-    <socketAcceptor>#socketAcceptor</socketAcceptor>
 
     <!-- The list of supported authentication mechanisms.                   -->
     <saslMechanismHandlers>



Mime
View raw message