You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2010/03/23 17:15:27 UTC

svn commit: r926643 [6/6] - in /directory/studio/trunk/apacheds-configuration/src/main: java/org/apache/directory/studio/apacheds/configuration/ java/org/apache/directory/studio/apacheds/configuration/editor/ java/org/apache/directory/studio/apacheds/c...

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/messages.properties?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/messages.properties (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/messages.properties Tue Mar 23 16:15:26 2010
@@ -0,0 +1,78 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+ExtendedOperationEnum.LaunchDiagnosticUI=Launch Diagnostic UI
+ExtendedOperationEnum.LaunchDiagnosticUIDescription=The Launch Diagnostic UI extended operation allows an application to launch the diagnostic user interface which can be used to look at the master table and the indices.
+ExtendedOperationEnum.Shutdown=Graceful Shutdown
+ExtendedOperationEnum.ShutdownDescription=The Graceful Shutdown TLS extended operation allows an application to gracefully manage server's that must go offline or shutdown with proper notification to bound clients.
+ExtendedOperationEnum.StartTLS=Start TLS
+ExtendedOperationEnum.StartTLSDescription=The Start TLS extended operation allows an application to serialize secure and plain requests against an LDAP server on a single connection.
+InterceptorEnum.ACIAuthorization=ACI Authorization
+InterceptorEnum.ACIAuthorizationDescription=An ACI based authorization interceptor.
+InterceptorEnum.Authentication=Authentication
+InterceptorEnum.AuthenticationDescription=An interceptor that authenticates users.
+InterceptorEnum.CollectiveAttribute=Collective Attribute
+InterceptorEnum.CollectiveAttributeDescription=An interceptor based service dealing with collective attribute management. This service intercepts read operations on entries to inject collective attribute value pairs into the response based on the entires inclusion within collectiveAttributeSpecificAreas and collectiveAttributeInnerAreas.
+InterceptorEnum.DefaultAuthorization=Default Authorization
+InterceptorEnum.DefaultAuthorizationDescription=An interceptor that controls access to PartitionNexus. If a user tries to perform any operations that requires permission he or she doesn't have, NoPermissionException will be thrown and therefore the current invocation chain will terminate.
+InterceptorEnum.Event=Event
+InterceptorEnum.EventDescription=An interceptor based serivice for notifying NamingListeners of EventContext and EventDirContext changes.
+InterceptorEnum.Exception=Exception
+InterceptorEnum.ExceptionDescription=An interceptor that detects any operations that breaks integrity of Partition and terminates the current invocation chain by throwing a NamingException. Those operations include when an entry already exists at a DN and is added once again to the same DN.
+InterceptorEnum.Normalization=Normalization
+InterceptorEnum.NormalizationDescription=A name normalization interceptor. This interceptor makes sure all relative and distinguished names are normalized before calls are made against the respective interface methods on PartitionNexus.
+InterceptorEnum.OperationalAttribute=Operational Attribute
+InterceptorEnum.OperationalAttributeDescription=An interceptor that adds or modifies the default attributes of entries. There are four default attributes for now; 'creatorsName', 'createTimestamp', 'modifiersName', 'modifyTimestamp'.
+InterceptorEnum.Referral=Referral
+InterceptorEnum.ReferralDescription=An interceptor which is responsible referral handling behaviors.  It manages  referral handling behavior when the Context\#REFERRAL is implicitly or explicitly set to "ignore", when set to "throw" and when set to "follow".
+InterceptorEnum.Replication=Replication
+InterceptorEnum.ReplicationDescription=An interceptor that intercepts LDAP operations and propagates the changes occurred by the operations into other ReplicaIds so the DIT of each ReplicaId in the cluster has the same content without any conflict.
+InterceptorEnum.Schema=Schema
+InterceptorEnum.SchemaDescription=An interceptor that manages and enforces schemas.
+InterceptorEnum.SubEntry=Sub-Entry
+InterceptorEnum.SubEntryDescription=The sub-entry interceptor service which is responsible for filtering out sub-entries on search operations and injecting operational attributes.
+InterceptorEnum.Trigger=Trigger
+InterceptorEnum.TriggerDescription=The trigger interceptor based on the Trigger Specification.
+SaslQualityOfProtectionEnum.AuthenticationOnly=auth (Authentication only)
+SaslQualityOfProtectionEnum.AuthenticationWithIntegrityAndPrivacyProtection=auth-conf (Authentication with integrity and privacy protection)
+SaslQualityOfProtectionEnum.AuthenticationWithIntegrityProtection=auth-int (Authentication with integrity protection)
+ServerXmlIOV156.ErrorAccessControlEnabled=Unable to find the 'accessControlEnabled' attribute for the default directory service bean.
+ServerXmlIOV156.ErrorAllowAnonymousAccess=Unable to find the 'allowAnonymousAccess' attribute for the 'ldapService' bean.
+ServerXmlIOV156.ErrorCacheSize=Unable to find the 'cacheSize' attribute for a partition.
+ServerXmlIOV156.ErrorChangePasswordServerPort=Unable to find the 'ipPort' attribute for the 'changePasswordServer' bean.
+ServerXmlIOV156.ErrorDefaultDirectoryService=Unable to find the 'defaultDirectoryService' tag.
+ServerXmlIOV156.ErrorDenormalizeOpAttrsEnabled=Unable to find the 'denormalizeOpAttrsEnabled' attribute for the default directory service bean.
+ServerXmlIOV156.ErrorDnsServerPort=Unable to find the 'ipPort' attribute for the 'dnsServer' bean.
+ServerXmlIOV156.ErrorId=Unable to find the 'id' attribute for a partition.
+ServerXmlIOV156.ErrorJDBMPartition=Unable to find the 'jdbmPartition' element for the system partition.
+ServerXmlIOV156.ErrorKdcServerPort=Unable to find the 'ipPort' attribute for the 'kdcServer' bean.
+ServerXmlIOV156.ErrorLdapServerId=Unable to find the 'id' attribute for the 'ldapService' bean.
+ServerXmlIOV156.ErrorLdapServerPort=Unable to find the 'ipPort' attribute for the 'ldapService' bean.
+ServerXmlIOV156.ErrorLdapsServerPort=Unable to find the 'ipPort' attribute for the 'ldapsServer' bean.
+ServerXmlIOV156.ErrorMaxSizeLimit=Unable to find the 'maxSizeLimit' attribute for the 'ldapServer' bean.
+ServerXmlIOV156.ErrorMaxThreads=Unable to find the 'maxThreads' attribute for the StandardThreadPool bean.
+ServerXmlIOV156.ErrorMaxTimeLimit=Unable to find the 'maxTimeLimit' attribute for the 'ldapServer' bean.
+ServerXmlIOV156.ErrorNtpServerPort=Unable to find the 'ipPort' attribute for the 'ntpServer' bean.
+ServerXmlIOV156.ErrorOptimizerEnabled=Unable to find the 'OptimizerEnabled' attribute for a partition.
+ServerXmlIOV156.ErrorSaslHost=Unable to find the 'saslHost' attribute for the 'ldapService' bean.
+ServerXmlIOV156.ErrorSaslPrincipal=Unable to find the 'saslPrincipal' attribute for the 'ldapService' bean.
+ServerXmlIOV156.ErrorSearchBaseDn=Unable to find the 'searchBaseDn' attribute for the 'ldapServer' bean.
+ServerXmlIOV156.ErrorStandardThreadPool=Unable to find the 'standardThreadPool' tag.
+ServerXmlIOV156.ErrorSuffix=Unable to find the 'suffix' attribute for a partition.
+ServerXmlIOV156.ErrorSyncOnWrite=Unable to find the 'syncOnWrite' attribute for a partition.
+ServerXmlIOV156.ErrorSyncPeriodMillis=Unable to find the 'synchPeriodMillis' attribute for a partition.
+ServerXmlIOV156.ErrorSystemPartition=Unable to find the 'systemPartition' element.

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/wizards/NewApacheDSConfigurationFileWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/wizards/NewApacheDSConfigurationFileWizard.java?rev=926643&r1=926642&r2=926643&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/wizards/NewApacheDSConfigurationFileWizard.java (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/wizards/NewApacheDSConfigurationFileWizard.java Tue Mar 23 16:15:26 2010
@@ -32,6 +32,7 @@ import org.apache.directory.studio.apach
 import org.apache.directory.studio.apacheds.configuration.model.v153.ServerXmlIOV153;
 import org.apache.directory.studio.apacheds.configuration.model.v154.ServerXmlIOV154;
 import org.apache.directory.studio.apacheds.configuration.model.v155.ServerXmlIOV155;
+import org.apache.directory.studio.apacheds.configuration.model.v156.ServerXmlIOV156;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.jface.wizard.Wizard;
 import org.eclipse.swt.SWT;
@@ -81,6 +82,11 @@ public class NewApacheDSConfigurationFil
             ServerXmlIO serverXmlIO = null;
             switch ( page.getTargetVersion() )
             {
+                case VERSION_1_5_6:
+                    serverXmlIO = new ServerXmlIOV156();
+                    serverConfiguration = serverXmlIO.parse( ApacheDSConfigurationPlugin.class
+                        .getResourceAsStream( "default-server-1.5.6.xml" ) ); //$NON-NLS-1$
+                    break;
                 case VERSION_1_5_5:
                     serverXmlIO = new ServerXmlIOV155();
                     serverConfiguration = serverXmlIO.parse( ApacheDSConfigurationPlugin.class
@@ -112,9 +118,9 @@ public class NewApacheDSConfigurationFil
                         .getResourceAsStream( "default-server-1.5.0.xml" ) ); //$NON-NLS-1$
                     break;
                 default:
-                    serverXmlIO = new ServerXmlIOV155();
+                    serverXmlIO = new ServerXmlIOV156();
                     serverConfiguration = serverXmlIO.parse( ApacheDSConfigurationPlugin.class
-                        .getResourceAsStream( "default-server-1.5.5.xml" ) ); //$NON-NLS-1$
+                        .getResourceAsStream( "default-server-1.5.6.xml" ) ); //$NON-NLS-1$
                     break;
             }
 

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/wizards/NewApacheDSConfigurationFileWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/wizards/NewApacheDSConfigurationFileWizardPage.java?rev=926643&r1=926642&r2=926643&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/wizards/NewApacheDSConfigurationFileWizardPage.java (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/wizards/NewApacheDSConfigurationFileWizardPage.java Tue Mar 23 16:15:26 2010
@@ -55,6 +55,8 @@ public class NewApacheDSConfigurationFil
     private static final String VERSION_1_5_4 = "1.5.4"; //$NON-NLS-1$
     /** Version 1.5.5 */
     private static final String VERSION_1_5_5 = "1.5.5"; //$NON-NLS-1$
+    /** Version 1.5.5 */
+    private static final String VERSION_1_5_6 = "1.5.6"; //$NON-NLS-1$
 
     // UI Fields
     private Combo versionCombo;
@@ -94,7 +96,7 @@ public class NewApacheDSConfigurationFil
         // Version Combo
         versionCombo = new Combo( targetVersionGroup, SWT.DROP_DOWN | SWT.READ_ONLY | SWT.BORDER );
         versionCombo.setItems( new String[]
-            { VERSION_1_5_5, VERSION_1_5_4, VERSION_1_5_3, VERSION_1_5_2, VERSION_1_5_1, VERSION_1_5_0 } );
+            { VERSION_1_5_6, VERSION_1_5_5, VERSION_1_5_4, VERSION_1_5_3, VERSION_1_5_2, VERSION_1_5_1, VERSION_1_5_0 } );
         versionCombo.select( 0 );
 
         setControl( composite );
@@ -113,7 +115,11 @@ public class NewApacheDSConfigurationFil
         String selection = versionCombo.getItem( versionCombo.getSelectionIndex() );
 
         // Checking the version
-        if ( selection.equals( VERSION_1_5_4 ) )
+        if ( selection.equals( VERSION_1_5_6 ) )
+        {
+            return ServerConfigurationVersionEnum.VERSION_1_5_6;
+        }
+        else if ( selection.equals( VERSION_1_5_5 ) )
         {
             return ServerConfigurationVersionEnum.VERSION_1_5_5;
         }
@@ -139,6 +145,6 @@ public class NewApacheDSConfigurationFil
         }
 
         // Default
-        return ServerConfigurationVersionEnum.VERSION_1_5_5;
+        return ServerConfigurationVersionEnum.VERSION_1_5_6;
     }
 }
\ No newline at end of file

Added: directory/studio/trunk/apacheds-configuration/src/main/resources/org/apache/directory/studio/apacheds/configuration/default-server-1.5.6.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/resources/org/apache/directory/studio/apacheds/configuration/default-server-1.5.6.xml?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/resources/org/apache/directory/studio/apacheds/configuration/default-server-1.5.6.xml (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/resources/org/apache/directory/studio/apacheds/configuration/default-server-1.5.6.xml Tue Mar 23 16:15:26 2010
@@ -0,0 +1,259 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+
+<spring:beans xmlns="http://apacheds.org/config/1.5.6"
+       xmlns:spring="http://xbean.apache.org/schemas/spring/1.0"
+       xmlns:s="http://www.springframework.org/schema/beans">
+
+  <defaultDirectoryService id="directoryService" instanceId="default"
+                           replicaId="1"
+                           workingDirectory="example.com"
+                           allowAnonymousAccess="true"
+                           accessControlEnabled="false"
+                           denormalizeOpAttrsEnabled="false"
+                           syncPeriodMillis="15000"
+                           maxPDUSize="2000000">
+    <systemPartition>
+      <!-- use the following partitionConfiguration to override defaults for -->
+      <!-- the system partition                                              -->
+      <jdbmPartition id="system" cacheSize="100" suffix="ou=system" optimizerEnabled="true" syncOnWrite="true">
+        <indexedAttributes>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.1" cacheSize="100"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.2" cacheSize="100"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.3" cacheSize="100"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.4" cacheSize="100"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.5" cacheSize="10"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.6" cacheSize="10"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.7" cacheSize="10"/>
+          <jdbmIndex attributeId="ou" cacheSize="100"/>
+          <jdbmIndex attributeId="uid" cacheSize="100"/>
+          <jdbmIndex attributeId="objectClass" cacheSize="100"/>
+        </indexedAttributes>
+      </jdbmPartition>
+    </systemPartition>
+
+    <partitions>
+      <!-- NOTE: when specifying new partitions you need not include those   -->
+      <!-- attributes below with OID's which are the system indices, if left -->
+      <!-- out they will be automatically configured for you with defaults.  -->
+      <jdbmPartition id="example" cacheSize="100" suffix="dc=example,dc=com" optimizerEnabled="true"
+                     syncOnWrite="true">
+        <indexedAttributes>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.1" cacheSize="100"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.2" cacheSize="100"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.3" cacheSize="100"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.4" cacheSize="100"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.5" cacheSize="10"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.6" cacheSize="10"/>
+          <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.7" cacheSize="10"/>
+          <jdbmIndex attributeId="dc" cacheSize="100"/>
+          <jdbmIndex attributeId="ou" cacheSize="100"/>
+          <jdbmIndex attributeId="krb5PrincipalName" cacheSize="100"/>
+          <jdbmIndex attributeId="uid" cacheSize="100"/>
+          <jdbmIndex attributeId="objectClass" cacheSize="100"/>
+        </indexedAttributes>
+      </jdbmPartition>
+    </partitions>
+
+    <interceptors>
+      <normalizationInterceptor/>
+      <authenticationInterceptor/>
+      <referralInterceptor/>
+      <aciAuthorizationInterceptor/>
+      <defaultAuthorizationInterceptor/>
+      <exceptionInterceptor/>
+      <operationalAttributeInterceptor/>
+
+      <!-- Uncomment to enable the password policy interceptor
+      <passwordPolicyInterceptor/>
+      <keyDerivationInterceptor/>
+      -->
+
+      <schemaInterceptor/>
+      <subentryInterceptor/>
+      <collectiveAttributeInterceptor/>
+      <eventInterceptor/>
+      <triggerInterceptor/>
+
+      <!-- Uncomment to enable replication interceptor
+      <replicationInterceptor>
+        <configuration>
+          <replicationConfiguration serverPort="10390" peerReplicas="instance_b@localhost:10392">
+            <replicaId>
+              <replicaId id="instance_a"/>
+            </replicaId>
+          </replicationConfiguration>
+        </configuration>
+      </replicationInterceptor>
+      -->
+    </interceptors>
+
+    <!-- Uncomment to enable replication configuration -->
+    <!--replicationConfiguration>
+      <providers>
+        <provider id="1 type="refreshAndPersist" timeLimit="1000" sizeLimit="1000">
+          <url>
+            ldap://ldap1.acme.com:10389/ou=data,dc=acme,dc=com?*, +?sub?(objectClass=*)
+          </url>
+          <connection bindMethod="simple">
+            <principal> 
+              uid=admin,ou=system 
+            </principal> 
+            <credentials>secret</credentials>
+          </bind>
+        </provider>
+        <provider id="2 type="refreshAndPersist" timeLimit="1000" sizeLimit="1000">
+          <url>
+            ldaps://ldap2.acme.com:10389/ou=data,dc=acme,dc=com?*, +?sub?(objectClass=*)
+          </url>
+          <connection bindMethod="simple">
+            <principal> 
+              uid=admin,ou=system 
+            </principal> 
+            <credentials>secret</credentials>
+          </bind>
+        </provider>
+      </providers>
+    </replicationConfiguration-->
+
+  </defaultDirectoryService>
+
+
+  <!-- 
+  +============================================================+
+  | ChangePassword server configuration                        |
+  +============================================================+
+  -->
+  <!--  missing  atou=users,dc=example,dc=com
+  <changePasswordServer id="changePasswordServer">
+    <transports>
+      <tcpTransport port="60464" nbThreads="2" backLog="50"/>
+      <udpTransport port="60464" nbThreads="2" backLog="50"/>
+    </transports>
+    <directoryService>#directoryService</directoryService>
+  </changePasswordServer>
+-->
+
+  <!-- 
+  +============================================================+
+  | Kerberos server configuration                              |
+  +============================================================+
+  -->
+  <!--  missing atou=users,dc=example,dc=com
+  <kdcServer id="kdcServer">
+    <transports>
+      <tcpTransport port="60088" nbThreads="4" backLog="50"/>
+      <udpTransport port="60088" nbThreads="4" backLog="50"/>
+    </transports>
+    <directoryService>#directoryService</directoryService>
+  </kdcServer>
+-->
+
+  <!-- 
+  +============================================================+
+  | NtpServer configuration                                    |
+  +============================================================+
+  -->
+  <!--ntpServer>
+    <transports>
+      <tcpTransport port="60123"/>
+      <udpTransport port="60123" nbThreads="1"/>
+    </transports>
+  </ntpServer-->
+
+  <!-- 
+  +============================================================+
+  | DnsServer configuration                                    |
+  +============================================================+
+  -->
+  <!--  missing atou=users,dc=example,dc=com
+  <dnsServer>
+    <transports>
+      <tcpTransport port="8053"/>
+      <udpTransport port="8053"/>
+    </transports>
+    <directoryService>#directoryService</directoryService>
+  </dnsServer>
+-->
+
+  <!-- 
+  +============================================================+
+  | LDAP Service configuration                                 |
+  +============================================================+
+  -->
+  
+  <ldapServer id="ldapServer"
+            allowAnonymousAccess="false"
+            saslHost="ldap.example.com"
+            saslPrincipal="ldap/ldap.example.com@EXAMPLE.COM"
+            searchBaseDn="ou=users,ou=system"
+            maxTimeLimit="15000"
+            maxSizeLimit="1000">
+    <transports>
+      <tcpTransport address="0.0.0.0" port="10389" nbThreads="8" backLog="50" enableSSL="false"/>
+      <tcpTransport address="localhost" port="10636" enableSSL="true"/>
+    </transports>
+
+    <directoryService>#directoryService</directoryService>
+
+    <!-- The list of supported authentication mechanisms.                   -->
+    <saslMechanismHandlers>
+      <simpleMechanismHandler mech-name="SIMPLE"/>
+      <cramMd5MechanismHandler mech-name="CRAM-MD5" />
+      <digestMd5MechanismHandler mech-name="DIGEST-MD5" />
+      <gssapiMechanismHandler mech-name="GSSAPI" />
+      <ntlmMechanismHandler mech-name="NTLM" ntlmProviderFqcn="com.foo.Bar"/>
+      <ntlmMechanismHandler mech-name="GSS-SPNEGO" ntlmProviderFqcn="com.foo.Bar"/>
+    </saslMechanismHandlers>
+
+    <!-- The realms serviced by this SASL host, used by DIGEST-MD5 and GSSAPI. -->
+    <saslRealms>
+      <s:value>example.com</s:value>
+      <s:value>apache.org</s:value>
+    </saslRealms>
+
+    <!-- the collection of extended operation handlers to install           -->
+    <extendedOperationHandlers>
+      <startTlsHandler/>
+      <gracefulShutdownHandler/>
+      <launchDiagnosticUiHandler/>
+      <!-- The Stored Procedure Extended Operation is not stable yet and it may cause security risks.-->
+      <!--storedProcedureExtendedOperationHandler/-->
+    </extendedOperationHandlers>
+  </ldapServer>
+
+  <apacheDS id="apacheDS">
+    <ldapServer>#ldapServer</ldapServer>
+  </apacheDS>
+  
+  <!-- uncomment the below line to start the jetty(v6.1.14) http server
+       This can be used to provide access to the data present in DIT via http
+       using a web application
+  -->
+  <!-- 
+   <httpServer id="httpServer" port="7009" >
+   <webApps>
+    <webApp warFile="/path/to/war/file" contextPath="/myApp"/>
+   </webApps>
+  </httpServer>
+   -->
+</spring:beans>