Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 61614 invoked from network); 26 Mar 2011 18:21:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2011 18:21:05 -0000 Received: (qmail 55335 invoked by uid 500); 26 Mar 2011 18:21:04 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 55289 invoked by uid 500); 26 Mar 2011 18:21:04 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 55282 invoked by uid 99); 26 Mar 2011 18:21:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2011 18:21:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2011 18:20:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F060223889FA; Sat, 26 Mar 2011 18:20:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1085778 [4/6] - in /directory/studio/branches/1.5.x/apacheds-configuration/src/main: java/org/apache/directory/studio/apacheds/configuration/ java/org/apache/directory/studio/apacheds/configuration/editor/ java/org/apache/directory/studio/... Date: Sat, 26 Mar 2011 18:20:33 -0000 To: commits@directory.apache.org From: seelmann@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110326182033.F060223889FA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v157/messages_fr.properties URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v157/messages_fr.properties?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v157/messages_fr.properties (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v157/messages_fr.properties Sat Mar 26 18:20:31 2011 @@ -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/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerConfigurationVersionEnum.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerConfigurationVersionEnum.java?rev=1085778&r1=1085777&r2=1085778&view=diff ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerConfigurationVersionEnum.java (original) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerConfigurationVersionEnum.java Sat Mar 26 18:20:31 2011 @@ -27,6 +27,17 @@ package org.apache.directory.studio.apac */ public enum ServerConfigurationVersionEnum { + /** Version 1.5.7 */ + VERSION_1_5_7 + { + /* (non-Javadoc) + * @see java.lang.Enum#toString() + */ + public String toString() + { + return Messages.getString( "ServerConfigurationVersionEnum.Version157" ); //$NON-NLS-1$ + } + }, /** Version 1.5.6 */ VERSION_1_5_6 { @@ -37,7 +48,8 @@ public enum ServerConfigurationVersionEn { return Messages.getString( "ServerConfigurationVersionEnum.Version156" ); //$NON-NLS-1$ } - }, /** Version 1.5.5 */ + }, + /** Version 1.5.5 */ VERSION_1_5_5 { /* (non-Javadoc) Added: directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ExtendedOperationEnum.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ExtendedOperationEnum.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ExtendedOperationEnum.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ExtendedOperationEnum.java Sat Mar 26 18:20:31 2011 @@ -0,0 +1,110 @@ +/* + * 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.v157; + + +/** + * This enum contains all the extended operations. + * + * @author Apache Directory Project + */ +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/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/IndexedAttribute.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/IndexedAttribute.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/IndexedAttribute.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/IndexedAttribute.java Sat Mar 26 18:20:31 2011 @@ -0,0 +1,107 @@ +/* + * 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.v157; + + +/** + * This class represents an Indexed Attribute. + * + * @author Apache Directory Project + */ +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/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/InterceptorConfiguration.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/InterceptorConfiguration.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/InterceptorConfiguration.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/InterceptorConfiguration.java Sat Mar 26 18:20:31 2011 @@ -0,0 +1,30 @@ +/* + * 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.v157; + + +/** + * This interface defines an interceptor configuration. + * + * @author Apache Directory Project + */ +public interface InterceptorConfiguration +{ +} Added: directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/InterceptorEnum.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/InterceptorEnum.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/InterceptorEnum.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/InterceptorEnum.java Sat Mar 26 18:20:31 2011 @@ -0,0 +1,191 @@ +/* + * 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.v157; + + +/** + * This enum contains all the interceptors. + * + * @author Apache Directory Project + */ +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/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/Messages.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/Messages.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/Messages.java Sat Mar 26 18:20:31 2011 @@ -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.v157; + + +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/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/Partition.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/Partition.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/Partition.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/Partition.java Sat Mar 26 18:20:31 2011 @@ -0,0 +1,281 @@ +/* + * 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.v157; + + +import java.util.ArrayList; +import java.util.List; + + +/** + * This class represents a Partition. + * + * @author Apache Directory Project + */ +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 indexedAttributes; + + /** The System Partition flag */ + private boolean systemPartition = false; + + + /** + * Creates a new instance of Partition. + */ + public Partition() + { + indexedAttributes = new ArrayList(); + } + + + /** + * Creates a new instance of Partition. + * + * @param id + * the id of the partition + */ + public Partition( String id ) + { + indexedAttributes = new ArrayList(); + 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 getIndexedAttributes() + { + return indexedAttributes; + } + + + /** + * Set the Indexed Attributes List. + * + * @param indexedAttributes + * the new Indexed Attributes List + */ + public void setIndexedAttributes( List 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/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ReplicationInterceptorConfiguration.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ReplicationInterceptorConfiguration.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ReplicationInterceptorConfiguration.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ReplicationInterceptorConfiguration.java Sat Mar 26 18:20:31 2011 @@ -0,0 +1,30 @@ +/* + * 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.v157; + + +/** + * This class implements a interceptor configuration for the replication interceptor. + * + * @author Apache Directory Project + */ +public class ReplicationInterceptorConfiguration implements InterceptorConfiguration +{ +} Added: directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/SaslQualityOfProtectionEnum.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/SaslQualityOfProtectionEnum.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/SaslQualityOfProtectionEnum.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/SaslQualityOfProtectionEnum.java Sat Mar 26 18:20:31 2011 @@ -0,0 +1,83 @@ +/* + * 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.v157; + + +/** + * This enum contains all the SASL qualities of protection. + * + * @author Apache Directory Project + */ +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/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ServerConfigurationV157.java URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ServerConfigurationV157.java?rev=1085778&view=auto ============================================================================== --- directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ServerConfigurationV157.java (added) +++ directory/studio/branches/1.5.x/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v157/ServerConfigurationV157.java Sat Mar 26 18:20:31 2011 @@ -0,0 +1,959 @@ +/* + * 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.v157; + + +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 Apache Directory Project + */ +public class ServerConfigurationV157 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 supportedMechanisms; + + // SASL Properties + + /** The SASL Host */ + private String saslHost; + + /** The SASL Principal */ + private String saslPrincipal; + + /** The SASL Realms */ + private List 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 partitions; + + /** The Interceptors */ + private List interceptors; + + /** The Extended Operations */ + private List extendedOperations; + + + /** + * Creates a new instance of ServerConfiguration. + */ + public ServerConfigurationV157() + { + super( ServerConfigurationVersionEnum.VERSION_1_5_7 ); + + supportedMechanisms = new ArrayList(); + saslRealms = new ArrayList(); + partitions = new ArrayList(); + interceptors = new ArrayList(); + extendedOperations = new ArrayList(); + } + + + /** + * 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 getExtendedOperations() + { + return extendedOperations; + } + + + /** + * Gets the Interceptors List. + * + * @return + * the Interceptors List + */ + public List 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 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 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 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 extendedOperations ) + { + this.extendedOperations = extendedOperations; + } + + + /** + * Sets the Interceptors List. + * + * @param interceptors + * the new value + */ + public void setInterceptors( List 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 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 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 supportedMechanisms ) + { + this.supportedMechanisms = supportedMechanisms; + } + + + /** + * Sets the Synchonization Period. + * + * @param synchronizationPeriod + * the new value + */ + public void setSynchronizationPeriod( long synchronizationPeriod ) + { + this.synchronizationPeriod = synchronizationPeriod; + } +}