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 [4/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/editor/v156/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v156/messages_fr.properties?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v156/messages_fr.properties (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v156/messages_fr.properties Tue Mar 23 16:15:26 2010
@@ -0,0 +1,80 @@
+#  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.
+
+AuthenticationPage.Add=Ajouter...
+AuthenticationPage.Authentication=Authentification
+AuthenticationPage.Delete=Supprimer
+AuthenticationPage.DeselectAll=Tout d\u00E9s\u00E9lectionner
+AuthenticationPage.Edit=Editer...
+AuthenticationPage.SaslHost=H\u00F4te SASL:
+AuthenticationPage.SaslPrincipal=Principal SASL :
+AuthenticationPage.SaslQualityOfProtection=Qualit\u00E9 de protection SASL
+AuthenticationPage.SaslRealms=Realms SASL
+AuthenticationPage.SaslSettings=R\u00E9glages SASL
+AuthenticationPage.SearchBaseDN=DN de base de recherche:
+AuthenticationPage.SelectAll=Tout s\u00E9lectionner
+AuthenticationPage.SupportedAuthenticationMechanisms=M\u00E9canismes d'authentification support\u00E9s
+ExtendedOperationDetailsPage.Description=Description:
+ExtendedOperationDetailsPage.Name=Nom:
+ExtendedOperationsMasterDetailsBlock.Add=Ajouter...
+ExtendedOperationsMasterDetailsBlock.AllExtendedOperations=Toutes les op\u00E9ration \u00E9tendues
+ExtendedOperationsMasterDetailsBlock.Delete=Supprimer
+ExtendedOperationsPage.ExtendedOperations=Op\u00E9rations \u00E9tendues
+GeneralPage.AllowAnonymousAccess=Permettre l'acc\u00E8s anonyme
+GeneralPage.DenormalizeOperationalAttributes=D\u00E9normaliser les attributs op\u00E9rationnels
+GeneralPage.EnableAccessControl=Activer le contr\u00F4le d'acc\u00E8s
+GeneralPage.EnableChangePassword=Activer le changement de mot de passe
+GeneralPage.EnableDNS=Activer DNS
+GeneralPage.EnableKerberos=Activer Kerberos
+GeneralPage.EnableLDAP=Activer LDAP
+GeneralPage.EnableLDAPS=Activer LDAPS
+GeneralPage.EnableNTP=Activer NTP
+GeneralPage.General=G\u00E9n\u00E9ral
+GeneralPage.Limits=Limites
+GeneralPage.MaxSizeLimit=Limite de taille max.:
+GeneralPage.MaxThreads=Nombre de threads max.:
+GeneralPage.MaxTimeLimit=Limite de temps max.:
+GeneralPage.Options=Options
+GeneralPage.Port=Port:
+GeneralPage.Protocols=Protocols
+GeneralPage.SyncPeriod=D\u00E9lai de synchronisation:
+InterceptorDetailsPage.Description=Description:
+InterceptorDetailsPage.Name=Nom:
+InterceptorsMasterDetailsBlock.Add=Ajouter...
+InterceptorsMasterDetailsBlock.AllInterceptors=Tous les intercepteurs
+InterceptorsMasterDetailsBlock.Delete=Supprimer
+InterceptorsMasterDetailsBlock.Down=Descendre
+InterceptorsMasterDetailsBlock.SetTheInterceptorsDescription=\ Indiquez les intercepteurs utilis\u00E9s dans le serveur. Utiliser les boutons "Monter" et "Descendre" pour changer l'ordre.
+InterceptorsMasterDetailsBlock.Up=Monter
+InterceptorsPage.Interceptors=Intercepteurs
+PartitionDetailsPage.Add=Ajouter...
+PartitionDetailsPage.CacheSize=Taille du cache:
+PartitionDetailsPage.Delete=Supprimer
+PartitionDetailsPage.Edit=Editer...
+PartitionDetailsPage.EnableOptimizer=Activer l'optimiseur
+PartitionDetailsPage.ID=ID:
+PartitionDetailsPage.IndexedAttributes=Attributs index\u00E9s
+PartitionDetailsPage.IndexedAttributesDescription=Indiquez les attributs index\u00E9s de la partition.
+PartitionDetailsPage.PartitionDetails=D\u00E9tails de la partition
+PartitionDetailsPage.PartitionsDetailsDescription=Indiquez les propri\u00E9t\u00E9s de la partition.
+PartitionDetailsPage.Suffix=Suffixe:
+PartitionDetailsPage.SynchronizationOnWrite=Synchronisation sur \u00E9criture
+PartitionsMasterDetailsBlock.Add=Ajouter...
+PartitionsMasterDetailsBlock.AllPartitions=Toutes les partitions
+PartitionsMasterDetailsBlock.Delete=Supprimer
+PartitionsMasterDetailsBlock.NewPartition=Nouvelle partition 
+PartitionsPage.Partitions=Partitions

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerConfigurationVersionEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerConfigurationVersionEnum.java?rev=926643&r1=926642&r2=926643&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerConfigurationVersionEnum.java (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerConfigurationVersionEnum.java Tue Mar 23 16:15:26 2010
@@ -28,7 +28,17 @@ package org.apache.directory.studio.apac
  */
 public enum ServerConfigurationVersionEnum
 {
-    /** Version 1.5.5 */
+    /** Version 1.5.6 */
+    VERSION_1_5_6
+    {
+        /* (non-Javadoc)
+         * @see java.lang.Enum#toString()
+         */
+        public String toString()
+        {
+            return Messages.getString( "ServerConfigurationVersionEnum.Version156" ); //$NON-NLS-1$
+        }
+    },    /** Version 1.5.5 */
     VERSION_1_5_5
     {
         /* (non-Javadoc)

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/messages.properties?rev=926643&r1=926642&r2=926643&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/messages.properties (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/messages.properties Tue Mar 23 16:15:26 2010
@@ -16,9 +16,3 @@
 # under the License.
 
 AbstractServerXmlIO.ErrorNotBoolean=The String "{0}" could not be parsed as a boolean.
-ServerConfigurationVersionEnum.Version150=Version 1.5.0
-ServerConfigurationVersionEnum.Version151=Version 1.5.1
-ServerConfigurationVersionEnum.Version152=Version 1.5.2
-ServerConfigurationVersionEnum.Version153=Version 1.5.3
-ServerConfigurationVersionEnum.Version154=Version 1.5.4
-ServerConfigurationVersionEnum.Version154=Version 1.5.5

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/messages_fr.properties?rev=926643&r1=926642&r2=926643&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/messages_fr.properties (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/messages_fr.properties Tue Mar 23 16:15:26 2010
@@ -21,3 +21,5 @@ ServerConfigurationVersionEnum.Version15
 ServerConfigurationVersionEnum.Version152=Version 1.5.2
 ServerConfigurationVersionEnum.Version153=Version 1.5.3
 ServerConfigurationVersionEnum.Version154=Version 1.5.4
+ServerConfigurationVersionEnum.Version155=Version 1.5.5
+ServerConfigurationVersionEnum.Version156=Version 1.5.6

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=926643&r1=926642&r2=926643&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 Mar 23 16:15:26 2010
@@ -156,22 +156,13 @@ public class ServerXmlIOV155 extends Abs
     protected boolean isValid( Document document )
     {
         Element rootElement = document.getRootElement();
-
         if ( rootElement != null )
         {
             // Checking if the root element is named 'beans'
             if ( ServerXmlIOV155.ELEMENT_BEANS.equalsIgnoreCase( rootElement.getName() ) )
             {
-                // Looking for the 'apacheDS' element
-                Element apacheDSElement = rootElement.element( ServerXmlIOV155.ELEMENT_APACHE_DS );
-                if ( apacheDSElement != null )
-                {
-                    // Looking for the 'apacheDS' element
-                    Element ldapServiceElement = rootElement.element( ServerXmlIOV155.ELEMENT_LDAP_SERVER );
-
-                    return ( ldapServiceElement != null );
-                }
-
+                // Checking if we have the correct namespace
+                return ( rootElement.getNamespaceForURI( NAMESPACE_APACHEDS.getURI() ) != null );
             }
         }
 

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ExtendedOperationEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ExtendedOperationEnum.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ExtendedOperationEnum.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ExtendedOperationEnum.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,111 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+/**
+ * This enum contains all the extended operations.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public enum ExtendedOperationEnum
+{
+    /** The Start TLS Extended Operation */
+    START_TLS(
+        Messages.getString( "ExtendedOperationEnum.StartTLS" ), Messages.getString( "ExtendedOperationEnum.StartTLSDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Graceful Shutdown Extended Operation */
+    GRACEFUL_SHUTDOWN(
+        Messages.getString( "ExtendedOperationEnum.Shutdown" ), Messages.getString( "ExtendedOperationEnum.ShutdownDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Launch Diagnostic UI Extended Operation */
+    LAUNCH_DIAGNOSTIC_UI(Messages.getString( "ExtendedOperationEnum.LaunchDiagnosticUI" ), //$NON-NLS-1$
+        Messages.getString( "ExtendedOperationEnum.LaunchDiagnosticUIDescription" )); //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The name */
+    private String name;
+
+    /** The description */
+    private String description;
+
+
+    /**
+     * Creates a new instance of InterceptorEnum.
+     *
+     * @param name
+     *      the name
+     * @param description
+     *      the description
+     */
+    private ExtendedOperationEnum( String name, String description )
+    {
+        this.name = name;
+        this.description = description;
+    }
+
+
+    /**
+     * Gets the name.
+     *
+     * @return
+     *      the name
+     */
+    public String getName()
+    {
+        return name;
+    }
+
+
+    /**
+     * Sets the name.
+     *
+     * @param name
+     *      the name
+     */
+    public void setName( String name )
+    {
+        this.name = name;
+    }
+
+
+    /**
+     * Gets the description.
+     *
+     * @return
+     *      the description
+     */
+    public String getDescription()
+    {
+        return description;
+    }
+
+
+    /**
+     * Sets the description.
+     *
+     * @param description
+     *      the description
+     */
+    public void setDescription( String description )
+    {
+        this.description = description;
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/IndexedAttribute.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/IndexedAttribute.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/IndexedAttribute.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/IndexedAttribute.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,108 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+/**
+ * This class represents an Indexed Attribute.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class IndexedAttribute
+{
+    /** The attribute id */
+    private String attributeId;
+
+    /** The cache size */
+    private int cacheSize;
+
+
+    /**
+     * Creates a new instance of IndexedAttribute.
+     *
+     * @param attributeId
+     *      the attribute id
+     * @param cacheSize
+     *      the cache size
+     */
+    public IndexedAttribute( String attributeId, int cacheSize )
+    {
+        this.attributeId = attributeId;
+        this.cacheSize = cacheSize;
+    }
+
+
+    /**
+     * Gets the attribute id.
+     *
+     * @return
+     *      the attribute id
+     */
+    public String getAttributeId()
+    {
+        return attributeId;
+    }
+
+
+    /**
+     * Sets the attribute id.
+     *
+     * @param attributeId
+     *      the new attribute id
+     */
+    public void setAttributeId( String attributeId )
+    {
+        this.attributeId = attributeId;
+    }
+
+
+    /**
+     * Gets the cache size.
+     *
+     * @return
+     *      the cache size
+     */
+    public int getCacheSize()
+    {
+        return cacheSize;
+    }
+
+
+    /**
+     * Gets the cache size.
+     *
+     * @param cacheSize
+     *      the new cache size
+     */
+    public void setCacheSize( int cacheSize )
+    {
+        this.cacheSize = cacheSize;
+    }
+
+
+    /* (non-Javadoc)
+     * @see java.lang.Object#toString()
+     */
+    public String toString()
+    {
+        return attributeId + " [" + cacheSize + "]"; //$NON-NLS-1$ //$NON-NLS-2$
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/InterceptorConfiguration.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/InterceptorConfiguration.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/InterceptorConfiguration.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/InterceptorConfiguration.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,31 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+/**
+ * This interface defines an interceptor configuration.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public interface InterceptorConfiguration
+{
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/InterceptorEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/InterceptorEnum.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/InterceptorEnum.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/InterceptorEnum.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,192 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+/**
+ * This enum contains all the interceptors.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public enum InterceptorEnum
+{
+    /** The Normalization Interceptor */
+    NORMALIZATION(
+        Messages.getString( "InterceptorEnum.Normalization" ), Messages.getString( "InterceptorEnum.NormalizationDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Authentication Interceptor */
+    AUTHENTICATION(
+        Messages.getString( "InterceptorEnum.Authentication" ), Messages.getString( "InterceptorEnum.AuthenticationDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Authentication Interceptor */
+    REFERRAL(
+        Messages.getString( "InterceptorEnum.Referral" ), Messages.getString( "InterceptorEnum.ReferralDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The ACI Authorization Interceptor */
+    ACI_AUTHORIZATION(
+        Messages.getString( "InterceptorEnum.ACIAuthorization" ), Messages.getString( "InterceptorEnum.ACIAuthorizationDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Default Authorization Interceptor */
+    DEFAULT_AUTHORIZATION(
+        Messages.getString( "InterceptorEnum.DefaultAuthorization" ), Messages.getString( "InterceptorEnum.DefaultAuthorizationDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Exception Interceptor */
+    EXCEPTION(
+        Messages.getString( "InterceptorEnum.Exception" ), Messages.getString( "InterceptorEnum.ExceptionDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Operational Attribute Interceptor */
+    OPERATIONAL_ATTRIBUTE(
+        Messages.getString( "InterceptorEnum.OperationalAttribute" ), Messages.getString( "InterceptorEnum.OperationalAttributeDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Schema Interceptor */
+    SCHEMA(Messages.getString( "InterceptorEnum.Schema" ), Messages.getString( "InterceptorEnum.SchemaDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Sub-Entry Interceptor */
+    SUBENTRY(
+        Messages.getString( "InterceptorEnum.SubEntry" ), Messages.getString( "InterceptorEnum.SubEntryDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Collective Attribute Interceptor */
+    COLLECTIVE_ATTRIBUTE(
+        Messages.getString( "InterceptorEnum.CollectiveAttribute" ), Messages.getString( "InterceptorEnum.CollectiveAttributeDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Event Interceptor */
+    EVENT(Messages.getString( "InterceptorEnum.Event" ), Messages.getString( "InterceptorEnum.EventDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Trigger Interceptor */
+    TRIGGER(Messages.getString( "InterceptorEnum.Trigger" ), Messages.getString( "InterceptorEnum.TriggerDescription" )), //$NON-NLS-1$ //$NON-NLS-2$
+
+    /** The Replication Interceptor */
+    REPLICATION(
+        Messages.getString( "InterceptorEnum.Replication" ), Messages.getString( "InterceptorEnum.ReplicationDescription" ), //$NON-NLS-1$ //$NON-NLS-2$
+        new ReplicationInterceptorConfiguration());
+
+    /** The name */
+    private String name;
+
+    /** The description */
+    private String description;
+
+    /** The interceptor configuration */
+    private InterceptorConfiguration configuration;
+
+
+    /**
+     * Creates a new instance of InterceptorEnum.
+     *
+     * @param name
+     *      the name
+     * @param description
+     *      the description
+     */
+    private InterceptorEnum( String name, String description )
+    {
+        this.name = name;
+        this.description = description;
+    }
+
+
+    /**
+     * Creates a new instance of InterceptorEnum.
+     *
+     * @param name
+     *      the name
+     * @param description
+     *      the description
+     */
+    private InterceptorEnum( String name, String description, InterceptorConfiguration configuration )
+    {
+        this.name = name;
+        this.description = description;
+        this.configuration = configuration;
+    }
+
+
+    /**
+     * Gets the name.
+     *
+     * @return
+     *      the name
+     */
+    public String getName()
+    {
+        return name;
+    }
+
+
+    /**
+     * Sets the name.
+     *
+     * @param name
+     *      the name
+     */
+    public void setName( String name )
+    {
+        this.name = name;
+    }
+
+
+    /**
+     * Gets the description.
+     *
+     * @return
+     *      the description
+     */
+    public String getDescription()
+    {
+        return description;
+    }
+
+
+    /**
+     * Sets the description.
+     *
+     * @param description
+     *      the description
+     */
+    public void setDescription( String description )
+    {
+        this.description = description;
+    }
+
+
+    /**
+     * Gets the configuration.
+     *
+     * @return
+     *      the configuration
+     */
+    public InterceptorConfiguration getConfiguration()
+    {
+        return configuration;
+    }
+
+
+    /**
+     * Sets the configuration
+     *
+     * @param configuration
+     *      the configuration
+     */
+    public void setConfiguration( InterceptorConfiguration configuration )
+    {
+        this.configuration = configuration;
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/Messages.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/Messages.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/Messages.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,50 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.apacheds.configuration.model.v156.messages"; //$NON-NLS-1$
+
+    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+
+
+    private Messages()
+    {
+    }
+
+
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/Partition.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/Partition.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/Partition.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/Partition.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,282 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+import java.util.ArrayList;
+import java.util.List;
+
+
+/**
+ * This class represents a Partition.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class Partition
+{
+    /** The ID of the partition */
+    private String id;
+
+    /** The cache size of the partition */
+    private int cacheSize;
+
+    /** The suffix of the partition */
+    private String suffix;
+
+    /** The Enable Optimizer flag */
+    private boolean enableOptimizer;
+
+    /** The Synchronization On Write flag */
+    private boolean synchronizationOnWrite;
+
+    /** The indexed attributes */
+    private List<IndexedAttribute> indexedAttributes;
+
+    /** The System Partition flag */
+    private boolean systemPartition = false;
+
+
+    /**
+     * Creates a new instance of Partition.
+     */
+    public Partition()
+    {
+        indexedAttributes = new ArrayList<IndexedAttribute>();
+    }
+
+
+    /**
+     * Creates a new instance of Partition.
+     *
+     * @param id
+     *      the id of the partition
+     */
+    public Partition( String id )
+    {
+        indexedAttributes = new ArrayList<IndexedAttribute>();
+        this.id = id;
+    }
+
+
+    /**
+     * Gets the ID of the partition.
+     *
+     * @return
+     *      the ID of the partition
+     */
+    public String getId()
+    {
+        return this.id;
+    }
+
+
+    /**
+     * Sets the ID of the partition.
+     *
+     * @param id
+     *      the new ID to set
+     */
+    public void setId( String id )
+    {
+        this.id = id;
+    }
+
+
+    /**
+     * Gets the cache size.
+     *
+     * @return
+     *      the cache size
+     */
+    public int getCacheSize()
+    {
+        return cacheSize;
+    }
+
+
+    /**
+     * Sets the cache size.
+     *
+     * @param cacheSize
+     *      the new cache size
+     */
+    public void setCacheSize( int cacheSize )
+    {
+        this.cacheSize = cacheSize;
+    }
+
+
+    /**
+     * Gets the Enable Optimizer flag.
+     *
+     * @return
+     *      the Enable Optimizer flag
+     */
+    public boolean isEnableOptimizer()
+    {
+        return enableOptimizer;
+    }
+
+
+    /**
+     * Sets the Enable Optimizer flag.
+     *
+     * @param enableOptimizer
+     *      the new value for the Enable Optimizer flag
+     */
+    public void setEnableOptimizer( boolean enableOptimizer )
+    {
+        this.enableOptimizer = enableOptimizer;
+    }
+
+
+    /**
+     * Get the Indexed Attributes List.
+     *
+     * @return
+     *      the Indexed Attributes List
+     */
+    public List<IndexedAttribute> getIndexedAttributes()
+    {
+        return indexedAttributes;
+    }
+
+
+    /**
+     * Set the Indexed Attributes List.
+     *
+     * @param indexedAttributes
+     *      the new Indexed Attributes List
+     */
+    public void setIndexedAttributes( List<IndexedAttribute> indexedAttributes )
+    {
+        this.indexedAttributes = indexedAttributes;
+    }
+
+
+    /**
+     * Adds an Indexed Attribute.
+     *
+     * @param indexedAttribute
+     *      the Indexed Attribute to add
+     * @return
+     *      true (as per the general contract of the Collection.add method).
+     */
+    public boolean addIndexedAttribute( IndexedAttribute indexedAttribute )
+    {
+        return indexedAttributes.add( indexedAttribute );
+    }
+
+
+    /**
+     * Removes a Indexed Attribute.
+     *
+     * @param indexedAttribute
+     *      the Indexed Attribute to remove
+     * @return
+     *      true if this list contained the specified element.
+     */
+    public boolean removeIndexedAttribute( IndexedAttribute indexedAttribute )
+    {
+        return indexedAttributes.remove( indexedAttribute );
+    }
+
+
+    /**
+     * Gets the suffix.
+     *
+     * @return
+     *      the suffix
+     */
+    public String getSuffix()
+    {
+        return suffix;
+    }
+
+
+    /**
+     * Sets the suffix.
+     *
+     * @param suffix
+     *      the new suffix
+     */
+    public void setSuffix( String suffix )
+    {
+        this.suffix = suffix;
+    }
+
+
+    /**
+     * Gets the Synchronization On Write flag.
+     *
+     * @return
+     *      the Synchronization On Write flag
+     */
+    public boolean isSynchronizationOnWrite()
+    {
+        return synchronizationOnWrite;
+    }
+
+
+    /**
+     * Sets the Synchronization On Write flag.
+     *
+     * @param synchronizationOnWrite
+     *      the Synchronization On Write flag
+     */
+    public void setSynchronizationOnWrite( boolean synchronizationOnWrite )
+    {
+        this.synchronizationOnWrite = synchronizationOnWrite;
+    }
+
+
+    /**
+     * Returns the System Partition flag.
+     *
+     * @return
+     *      true if the partition is the System Partition
+     */
+    public boolean isSystemPartition()
+    {
+        return systemPartition;
+    }
+
+
+    /**
+     * Sets the System Partition flag.
+     *
+     * @param systemPartition
+     *      the System Partition flag
+     */
+    public void setSystemPartition( boolean systemPartition )
+    {
+        this.systemPartition = systemPartition;
+    }
+
+
+    /* (non-Javadoc)
+     * @see java.lang.Object#toString()
+     */
+    public String toString()
+    {
+        return id;
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ReplicationInterceptorConfiguration.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ReplicationInterceptorConfiguration.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ReplicationInterceptorConfiguration.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ReplicationInterceptorConfiguration.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,31 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+/**
+ * This class implements a interceptor configuration for the replication interceptor. 
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class ReplicationInterceptorConfiguration implements InterceptorConfiguration
+{
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/SaslQualityOfProtectionEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/SaslQualityOfProtectionEnum.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/SaslQualityOfProtectionEnum.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/SaslQualityOfProtectionEnum.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,84 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+/**
+ * This enum contains all the SASL qualities of protection.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public enum SaslQualityOfProtectionEnum
+{
+    /** The auth QoP */
+    AUTH(Messages.getString( "SaslQualityOfProtectionEnum.AuthenticationOnly" )), //$NON-NLS-1$
+
+    /** The auth-int QoP */
+    AUTH_INT(Messages.getString( "SaslQualityOfProtectionEnum.AuthenticationWithIntegrityProtection" )), //$NON-NLS-1$
+
+    /** The auth-conf QoP */
+    AUTH_CONF(Messages.getString( "SaslQualityOfProtectionEnum.AuthenticationWithIntegrityAndPrivacyProtection" )); //$NON-NLS-1$
+
+    /** The name */
+    private String name;
+
+
+    /**
+     * Creates a new instance of SaslQualityOfProtectionEnum.
+     *
+     * @param name
+     *      the name
+     */
+    private SaslQualityOfProtectionEnum( String name )
+    {
+        this.name = name;
+    }
+
+
+    /**
+     * Gets the name.
+     *
+     * @return
+     *      the name
+     */
+    public String getName()
+    {
+        return name;
+    }
+
+
+    /**
+     * Sets the name.
+     *
+     * @param name
+     *      the name
+     */
+    public void setName( String name )
+    {
+        this.name = name;
+    }
+
+
+    public String toString()
+    {
+        return name;
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ServerConfigurationV156.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ServerConfigurationV156.java?rev=926643&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ServerConfigurationV156.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v156/ServerConfigurationV156.java Tue Mar 23 16:15:26 2010
@@ -0,0 +1,960 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.model.v156;
+
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.directory.studio.apacheds.configuration.model.AbstractServerConfiguration;
+import org.apache.directory.studio.apacheds.configuration.model.ServerConfiguration;
+import org.apache.directory.studio.apacheds.configuration.model.ServerConfigurationVersionEnum;
+
+
+/**
+ * This class represents a Server Configuration.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class ServerConfigurationV156 extends AbstractServerConfiguration implements ServerConfiguration
+{
+    // LDAP Configuration
+
+    /** The port */
+    private int ldapPort;
+
+    /** The flag for Enable LDAP */
+    private boolean enableLdap;
+
+    // Limits
+
+    /** The Max Time Limit */
+    private int maxTimeLimit;
+
+    /** the Max Size Limit */
+    private int maxSizeLimit;
+
+    /** The Synchronization Period */
+    private long synchronizationPeriod;
+
+    /** The Maximum number of Threads */
+    private int maxThreads;
+
+    /** The Supported Mechanisms */
+    private List<SupportedMechanismEnum> supportedMechanisms;
+
+    // SASL Properties
+
+    /** The SASL Host */
+    private String saslHost;
+
+    /** The SASL Principal */
+    private String saslPrincipal;
+
+    /** The SASL Realms */
+    private List<String> saslRealms;
+
+    /** The Search Base DN */
+    private String searchBaseDn;
+
+    // Protocols
+
+    /** The flag for Enable Access Control */
+    private boolean enableAccessControl;
+
+    /** The flag for Enable Kerberos */
+    private boolean enableKerberos;
+
+    /** The port for Kerberos */
+    private int kerberosPort;
+
+    /** The flag for Enable NTP */
+    private boolean enableNtp;
+
+    /** The port for NTP */
+    private int ntpPort;
+
+    /** The flag for Enable DNS */
+    private boolean enableDns;
+
+    /** The port for DNS */
+    private int dnsPort;
+
+    /** The flag for Enable LDAPS */
+    private boolean enableLdaps;
+
+    /** The port for LDAPS */
+    private int ldapsPort;
+
+    /** The flag for Enable Change Password */
+    private boolean enableChangePassword;
+
+    /** The port for Change Password */
+    private int changePasswordPort;
+
+    // Options
+
+    /** The flag for Denormalize Operational Attributes */
+    private boolean denormalizeOpAttr;
+
+    /** The flag for Allow Anonymous Access */
+    private boolean allowAnonymousAccess;
+
+    // Other configuration elements
+
+    /** The Partitions */
+    private List<Partition> partitions;
+
+    /** The Interceptors */
+    private List<InterceptorEnum> interceptors;
+
+    /** The Extended Operations */
+    private List<ExtendedOperationEnum> extendedOperations;
+
+
+    /**
+     * Creates a new instance of ServerConfiguration.
+     */
+    public ServerConfigurationV156()
+    {
+        super( ServerConfigurationVersionEnum.VERSION_1_5_6 );
+
+        supportedMechanisms = new ArrayList<SupportedMechanismEnum>();
+        saslRealms = new ArrayList<String>();
+        partitions = new ArrayList<Partition>();
+        interceptors = new ArrayList<InterceptorEnum>();
+        extendedOperations = new ArrayList<ExtendedOperationEnum>();
+    }
+
+
+    /**
+     * Adds an Extended Operation.
+     *
+     * @param extendedOperation
+     *      the Extended Operation to add
+     * @return
+     *      true (as per the general contract of the Collection.add method).
+     */
+    public boolean addExtendedOperation( ExtendedOperationEnum extendedOperation )
+    {
+        return extendedOperations.add( extendedOperation );
+    }
+
+
+    /**
+     * Adds an Interceptor.
+     *
+     * @param interceptor
+     *      the Interceptor to add
+     * @return
+     *      true (as per the general contract of the Collection.add method).
+     */
+    public boolean addInterceptor( InterceptorEnum interceptor )
+    {
+        return interceptors.add( interceptor );
+    }
+
+
+    /**
+     * Adds a Partition.
+     *
+     * @param partition
+     *      the Partition to add
+     * @return
+     *      true (as per the general contract of the Collection.add method).
+     */
+    public boolean addPartition( Partition partition )
+    {
+        return partitions.add( partition );
+    }
+
+
+    /**
+    * Adds a SASL Realm.
+    *
+    * @param qop
+    *      the SASL Realm to add
+    * @return
+    *      true (as per the general contract of the Collection.add method).
+    */
+    public boolean addSaslRealm( String saslRealm )
+    {
+        return saslRealms.add( saslRealm );
+    }
+
+
+    /**
+     * Adds a Supported Mechanism.
+     *
+     * @param supportedMechanism
+     *      the Supported Mechanism to add
+     * @return
+     *      true (as per the general contract of the Collection.add method).
+     */
+    public boolean addSupportedMechanism( SupportedMechanismEnum supportedMechanism )
+    {
+        return supportedMechanisms.add( supportedMechanism );
+    }
+
+
+    /**
+     * Removes all ExtendedOperations.
+     */
+    public void clearExtendedOperations()
+    {
+        extendedOperations.clear();
+    }
+
+
+    /**
+     * Removes all interceptors.
+     */
+    public void clearInterceptors()
+    {
+        interceptors.clear();
+    }
+
+
+    /**
+     * Removes all partitions.
+     */
+    public void clearPartitions()
+    {
+        partitions.clear();
+    }
+
+
+    /**
+     * Gets the Change Password port.
+     *
+     * @return
+     *      the Change Password port
+     */
+    public int getChangePasswordPort()
+    {
+        return changePasswordPort;
+    }
+
+
+    /**
+     * Gets the DNS port.
+     *
+     * @return
+     *      the DNS port
+     */
+    public int getDnsPort()
+    {
+        return dnsPort;
+    }
+
+
+    /**
+     * Gets the Extended Operations List.
+     *
+     * @return
+     *      the Extended Operations List
+     */
+    public List<ExtendedOperationEnum> getExtendedOperations()
+    {
+        return extendedOperations;
+    }
+
+
+    /**
+     * Gets the Interceptors List.
+     *
+     * @return
+     *      the Interceptors List
+     */
+    public List<InterceptorEnum> getInterceptors()
+    {
+        return interceptors;
+    }
+
+
+    /**
+     * Gets the Kerberos port.
+     *
+     * @return
+     *      the Kerberos port
+     */
+    public int getKerberosPort()
+    {
+        return kerberosPort;
+    }
+
+
+    /**
+     * Gets the LDAPS port.
+     *
+     * @return
+     *      the LDAPS port
+     */
+    public int getLdapsPort()
+    {
+        return ldapsPort;
+    }
+
+
+    /**
+     * Gets the Maximum Size Limit.
+     *
+     * @return
+     *      the Maximum Size Limit
+     */
+    public int getMaxSizeLimit()
+    {
+        return maxSizeLimit;
+    }
+
+
+    /**
+     * Gets the Maximum number of Threads.
+     *
+     * @return
+     *      the Maximum number of Threads
+     */
+    public int getMaxThreads()
+    {
+        return maxThreads;
+    }
+
+
+    /**
+     * Gets the Maximum Time Limit.
+     *
+     * @return
+     *      the Maximum Time Limit
+     */
+    public int getMaxTimeLimit()
+    {
+        return maxTimeLimit;
+    }
+
+
+    /**
+     * Gets the NTP port.
+     *
+     * @return
+     *      the NTP port
+     */
+    public int getNtpPort()
+    {
+        return ntpPort;
+    }
+
+
+    /**
+     * Gets the Partitions List.
+     *
+     * @return
+     *      the Partitions List
+     */
+    public List<Partition> getPartitions()
+    {
+        return partitions;
+    }
+
+
+    /**
+     * Gets the LDAP Port.
+     *
+     * @return
+     *      the LDAP Port
+     */
+    public int getLdapPort()
+    {
+        return ldapPort;
+    }
+
+
+    /**
+     * Gets the SASL Host.
+     *
+     * @return
+     *       the SASL Host
+     */
+    public String getSaslHost()
+    {
+        return saslHost;
+    }
+
+
+    /**
+     * Gets the SASL Principal.
+     *
+     * @return
+     *      the SASL Principal
+     */
+    public String getSaslPrincipal()
+    {
+        return saslPrincipal;
+    }
+
+
+    /**
+     * Gets the SASL Realms List.
+     *
+     * @return
+     *      the SASL Realms List
+     */
+    public List<String> getSaslRealms()
+    {
+        return saslRealms;
+    }
+
+
+    /**
+     * Gets the Search Base DN.
+     *
+     * @return
+     *      the Search Base DN
+     */
+    public String getSearchBaseDn()
+    {
+        return searchBaseDn;
+    }
+
+
+    /**
+     * Gets the Supported Mechanisms List.
+     * 
+     * @return
+     *      the Supported Mechanisms List
+     */
+    public List<SupportedMechanismEnum> getSupportedMechanisms()
+    {
+        return supportedMechanisms;
+    }
+
+
+    /**
+     * Gets the Synchronization Period.
+     *
+     * @return
+     *      the Synchronization Period
+     */
+    public long getSynchronizationPeriod()
+    {
+        return synchronizationPeriod;
+    }
+
+
+    /**
+     * Gets the Allow Anonymous flag.
+     *
+     * @return
+     *      true if the server configuration allows Anonymous Access
+     */
+    public boolean isAllowAnonymousAccess()
+    {
+        return allowAnonymousAccess;
+    }
+
+
+    /**
+     * Gets the Denormalize Operational Attributes flag.
+     *
+     * @return
+     *      the Denormalize Operational Attributes flag
+     */
+    public boolean isDenormalizeOpAttr()
+    {
+        return denormalizeOpAttr;
+    }
+
+
+    /**
+     * Gets the Enable Access Control flag.
+     *
+     * @return
+     *      true if Access Control is enabled
+     */
+    public boolean isEnableAccessControl()
+    {
+        return enableAccessControl;
+    }
+
+
+    /**
+     * Gets the Enable Change Password flag.
+     *
+     * @return
+     *      true if Change Password is enabled
+     */
+    public boolean isEnableChangePassword()
+    {
+        return enableChangePassword;
+    }
+
+
+    /**
+     * Gets the Enable DNS flag.
+     *
+     * @return
+     *      true if DNS is enabled
+     */
+    public boolean isEnableDns()
+    {
+        return enableDns;
+    }
+
+
+    /**
+     * Gets the Enable Kerberos flag.
+     *
+     * @return
+     *      true if Kerberos is enabled
+     */
+    public boolean isEnableKerberos()
+    {
+        return enableKerberos;
+    }
+
+
+    /**
+     * Gets the Enable LDAP flag.
+     *
+     * @return
+     *      true if LDAP is enabled
+     */
+    public boolean isEnableLdap()
+    {
+        return enableLdap;
+    }
+
+
+    /**
+     * Gets the Enable LDAPS flag.
+     *
+     * @return
+     *      true if LDAPS is enabled
+     */
+    public boolean isEnableLdaps()
+    {
+        return enableLdaps;
+    }
+
+
+    /**
+     * Gets the Enable NTP flag.
+     *
+     * @return
+     *      true if NTP is enabled
+     */
+    public boolean isEnableNtp()
+    {
+        return enableNtp;
+    }
+
+
+    /**
+     * Removes an Extended Operation.
+     *
+     * @param extendedOperation
+     *      the Extended Operation to remove
+     * @return
+     *      true if this list contained the specified element.
+     */
+    public boolean removeExtendedOperation( ExtendedOperationEnum extendedOperation )
+    {
+        return extendedOperations.remove( extendedOperation );
+    }
+
+
+    /**
+     * Removes an Supported Mechanism.
+     *
+     * @param supportedMechanism
+     *      the Supported Mechanism to remove
+     * @return
+     *      true if this list contained the specified element.
+     */
+    public boolean removeExtendedOperation( String supportedMechanism )
+    {
+        return supportedMechanisms.remove( supportedMechanism );
+    }
+
+
+    /**
+     * Removes an Interceptor.
+     *
+     * @param interceptor
+     *      the Interceptor to remove
+     * @return
+     *      true if this list contained the specified element.
+     */
+    public boolean removeInterceptor( InterceptorEnum interceptor )
+    {
+        return interceptors.remove( interceptor );
+    }
+
+
+    /**
+     * Removes a Partition.
+     *
+     * @param partition
+     *      the partition to remove
+     * @return
+     *      true if this list contained the specified element.
+     */
+    public boolean removePartition( Partition partition )
+    {
+        return partitions.remove( partition );
+    }
+
+
+    /**
+     * Removes a SASL Realm.
+     *
+     * @param saslRealm
+     *      the SASL Realm to remove
+     * @return
+     *      true if this list contained the specified element.
+     */
+    public boolean removeSaslRealm( String saslRealm )
+    {
+        return saslRealms.remove( saslRealm );
+    }
+
+
+    /**
+     * Sets the Allow Anonymous flag.
+     *
+     * @param allowAnonymousAccess
+     *      the new value
+     */
+    public void setAllowAnonymousAccess( boolean allowAnonymousAccess )
+    {
+        this.allowAnonymousAccess = allowAnonymousAccess;
+    }
+
+
+    /**
+     * Sets the Change Password port.
+     *
+     * @param changePasswordPort
+     *      the Change Password port
+     */
+    public void setChangePasswordPort( int changePasswordPort )
+    {
+        this.changePasswordPort = changePasswordPort;
+    }
+
+
+    /**
+     * Sets the Denormalize Operational Attributes flag.
+     *
+     * @param denormalizeOpAttr
+     *      the new Denormalize Operational Attributes flag
+     */
+    public void setDenormalizeOpAttr( boolean denormalizeOpAttr )
+    {
+        this.denormalizeOpAttr = denormalizeOpAttr;
+    }
+
+
+    /**
+     * Sets the DNS port.
+     *
+     * @param dnsPort
+     *      the DNS port
+     */
+    public void setDnsPort( int dnsPort )
+    {
+        this.dnsPort = dnsPort;
+    }
+
+
+    /**
+     * Sets the Enable Access Control flag.
+     *
+     * @param enableAccessControl
+     *      the new value
+     */
+    public void setEnableAccessControl( boolean enableAccessControl )
+    {
+        this.enableAccessControl = enableAccessControl;
+    }
+
+
+    /**
+     * Sets the Enable Change Password flag.
+     *
+     * @param enableChangePassword
+     *      the new value
+     */
+    public void setEnableChangePassword( boolean enableChangePassword )
+    {
+        this.enableChangePassword = enableChangePassword;
+    }
+
+
+    /**
+     * Sets Enable DNS flag.
+     *
+     * @param enableDns
+     *      the new value
+     */
+    public void setEnableDns( boolean enableDns )
+    {
+        this.enableDns = enableDns;
+    }
+
+
+    /**
+     * Sets the Enable Kerberos flag.
+     *
+     * @param enableKerberos
+     *      the new value
+     */
+    public void setEnableKerberos( boolean enableKerberos )
+    {
+        this.enableKerberos = enableKerberos;
+    }
+
+
+    /**
+     * Sets the Enable LDAPS flag.
+     *
+     * @param enableLdaps
+     *      the new value
+     */
+    public void setEnableLdaps( boolean enableLdaps )
+    {
+        this.enableLdaps = enableLdaps;
+    }
+
+
+    /**
+     * Sets the Enable LDAP flag.
+     *
+     * @param enableLdap
+     *      the new value
+     */
+    public void setEnableLdap( boolean enableLdap )
+    {
+        this.enableLdap = enableLdap;
+    }
+
+
+    /**
+     * Sets the Enable NTP flag.
+     *
+     * @param enableNtp
+     *      the new value
+     */
+    public void setEnableNtp( boolean enableNtp )
+    {
+        this.enableNtp = enableNtp;
+    }
+
+
+    /**
+     * Sets the Extended Operations List.
+     *
+     * @param extendedOperations
+     *      the new value
+     */
+    public void setExtendedOperations( List<ExtendedOperationEnum> extendedOperations )
+    {
+        this.extendedOperations = extendedOperations;
+    }
+
+
+    /**
+     * Sets the Interceptors List.
+     *
+     * @param interceptors
+     *      the new value
+     */
+    public void setInterceptors( List<InterceptorEnum> interceptors )
+    {
+        this.interceptors = interceptors;
+    }
+
+
+    /**
+     * Sets the Kerberos port.
+     *
+     * @param kerberosPort
+     *      the new value
+     */
+    public void setKerberosPort( int kerberosPort )
+    {
+        this.kerberosPort = kerberosPort;
+    }
+
+
+    /**
+     * Sets The LDAPS port.
+     *
+     * @param ldapsPort
+     */
+    public void setLdapsPort( int ldapsPort )
+    {
+        this.ldapsPort = ldapsPort;
+    }
+
+
+    /**
+     * Sets the Maximum Size Limit.
+     *
+     * @param maxSizeLimit
+     *      the new value
+     */
+    public void setMaxSizeLimit( int maxSizeLimit )
+    {
+        this.maxSizeLimit = maxSizeLimit;
+    }
+
+
+    /**
+     * Sets the Maximum number of Threads
+     *
+     * @param maxThreads
+     *      the new value
+     */
+    public void setMaxThreads( int maxThreads )
+    {
+        this.maxThreads = maxThreads;
+    }
+
+
+    /**
+     * Sets the Maximum Time Limit.
+     *
+     * @param maxTimeLimit
+     *      the new value
+     */
+    public void setMaxTimeLimit( int maxTimeLimit )
+    {
+        this.maxTimeLimit = maxTimeLimit;
+    }
+
+
+    /**
+     * Sets the NTP port.
+     *
+     * @param ntpPort
+     *      the new value
+     */
+    public void setNtpPort( int ntpPort )
+    {
+        this.ntpPort = ntpPort;
+    }
+
+
+    /**
+     * Sets the Partitions List.
+     *
+     * @param partitions
+     *      the new value
+     */
+    public void setPartitions( List<Partition> partitions )
+    {
+        this.partitions = partitions;
+    }
+
+
+    /**
+     * Sets the LDAP Port
+     *
+     * @param ldapPort
+     *      the new value
+     */
+    public void setLdapPort( int ldapPort )
+    {
+        this.ldapPort = ldapPort;
+    }
+
+
+    /**
+     * Sets the SASL Host.
+     *
+     * @param saslHost
+     *      the new value
+     */
+    public void setSaslHost( String saslHost )
+    {
+        this.saslHost = saslHost;
+    }
+
+
+    /**
+     * Sets the SASL Principal.
+     *
+     * @param saslPrincipal
+     *      the new value
+     */
+    public void setSaslPrincipal( String saslPrincipal )
+    {
+        this.saslPrincipal = saslPrincipal;
+    }
+
+
+    /**
+     * Sets the SASL Realms List.
+     * 
+     * @param saslRealms
+     *      the new value
+     */
+    public void setSaslRealms( List<String> saslRealms )
+    {
+        this.saslRealms = saslRealms;
+    }
+
+
+    /**
+     * Sets the Search Base DN
+     *
+     * @param searchBaseDn
+     *      the new value
+     */
+    public void setSearchBaseDn( String searchBaseDn )
+    {
+        this.searchBaseDn = searchBaseDn;
+    }
+
+
+    /**
+     * Sets the Supported Mechanisms List.
+     *
+     * @param supportedMechanisms
+     *      the new value
+     */
+    public void setSupportedMechanisms( List<SupportedMechanismEnum> supportedMechanisms )
+    {
+        this.supportedMechanisms = supportedMechanisms;
+    }
+
+
+    /**
+     * Sets the Synchonization Period.
+     *
+     * @param synchronizationPeriod
+     *      the new value
+     */
+    public void setSynchronizationPeriod( long synchronizationPeriod )
+    {
+        this.synchronizationPeriod = synchronizationPeriod;
+    }
+}