directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r812580 [3/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...
Date Tue, 08 Sep 2009 16:44:46 GMT
Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/IndexedAttributeDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/IndexedAttributeDialog.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/IndexedAttributeDialog.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/IndexedAttributeDialog.java Tue Sep  8 16:44:44 2009
@@ -0,0 +1,193 @@
+/*
+ *  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.editor.v155.dialogs;
+
+
+import org.apache.directory.studio.apacheds.configuration.model.v155.IndexedAttribute;
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.events.VerifyEvent;
+import org.eclipse.swt.events.VerifyListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.PlatformUI;
+
+
+/**
+ * This class implements the Dialog for Indexed Attribute.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class IndexedAttributeDialog extends Dialog
+{
+    /** The Indexed Attribute */
+    private IndexedAttribute indexedAttribute;
+
+    /** The dirty flag */
+    private boolean dirty = false;
+
+    // UI Fields
+    private Text attributeIdText;
+    private Text cacheSizeText;
+
+
+    /**
+     * Creates a new instance of IndexedAttributeDialog.
+     */
+    public IndexedAttributeDialog( IndexedAttribute indexedAttribute )
+    {
+        super( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell() );
+        this.indexedAttribute = indexedAttribute;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
+     */
+    protected void configureShell( Shell newShell )
+    {
+        super.configureShell( newShell );
+        newShell.setText( Messages.getString("IndexedAttributeDialog.IndexedAttributeDialog") ); //$NON-NLS-1$
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
+     */
+    protected Control createDialogArea( Composite parent )
+    {
+        Composite composite = new Composite( parent, SWT.NONE );
+        GridLayout layout = new GridLayout( 2, false );
+        composite.setLayout( layout );
+        composite.setLayoutData( new GridData( GridData.FILL, GridData.FILL, true, true ) );
+
+        Label attributeIdLabel = new Label( composite, SWT.NONE );
+        attributeIdLabel.setText( Messages.getString("IndexedAttributeDialog.AttributeID") ); //$NON-NLS-1$
+
+        attributeIdText = new Text( composite, SWT.BORDER );
+        attributeIdText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+
+        Label cacheSizeLabel = new Label( composite, SWT.NONE );
+        cacheSizeLabel.setText( Messages.getString("IndexedAttributeDialog.CacheSize") ); //$NON-NLS-1$
+
+        cacheSizeText = new Text( composite, SWT.BORDER );
+        cacheSizeText.addVerifyListener( new VerifyListener()
+        {
+            public void verifyText( VerifyEvent e )
+            {
+                if ( !e.text.matches( "[0-9]*" ) ) //$NON-NLS-1$
+                {
+                    e.doit = false;
+                }
+            }
+        } );
+        cacheSizeText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+
+        initFromInput();
+        addListeners();
+
+        return composite;
+    }
+
+
+    /**
+     * Initializes the UI from the input.
+     */
+    private void initFromInput()
+    {
+        String attributeId = indexedAttribute.getAttributeId();
+        attributeIdText.setText( ( attributeId == null ) ? "" : attributeId ); //$NON-NLS-1$
+        cacheSizeText.setText( "" + indexedAttribute.getCacheSize() ); //$NON-NLS-1$
+    }
+
+
+    /**
+     * Adds listeners to the UI Fields.
+     */
+    private void addListeners()
+    {
+        attributeIdText.addModifyListener( new ModifyListener()
+        {
+            public void modifyText( ModifyEvent e )
+            {
+                dirty = true;
+            }
+        } );
+
+        cacheSizeText.addModifyListener( new ModifyListener()
+        {
+            public void modifyText( ModifyEvent e )
+            {
+                dirty = true;
+            }
+        } );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
+     */
+    protected void okPressed()
+    {
+        indexedAttribute.setAttributeId( attributeIdText.getText() );
+        try
+        {
+            indexedAttribute.setCacheSize( Integer.parseInt( cacheSizeText.getText() ) );
+        }
+        catch ( NumberFormatException e )
+        {
+            // Nothing to do, it won't happen
+        }
+
+        super.okPressed();
+    }
+
+
+    /**
+     * Gets the Indexed Attribute.
+     *
+     * @return
+     *      the Indexed Attribute
+     */
+    public IndexedAttribute getIndexedAttribute()
+    {
+        return indexedAttribute;
+    }
+
+
+    /**
+     * Returns the dirty flag of the dialog.
+     *
+     * @return
+     *      the dirty flag of the dialog
+     */
+    public boolean isDirty()
+    {
+        return dirty;
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/InterceptorDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/InterceptorDialog.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/InterceptorDialog.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/InterceptorDialog.java Tue Sep  8 16:44:44 2009
@@ -0,0 +1,277 @@
+/*
+ *  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.editor.v155.dialogs;
+
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationPlugin;
+import org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationPluginConstants;
+import org.apache.directory.studio.apacheds.configuration.model.v155.InterceptorEnum;
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.jface.viewers.ArrayContentProvider;
+import org.eclipse.jface.viewers.ISelectionChangedListener;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.jface.viewers.SelectionChangedEvent;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.TableViewer;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.MouseAdapter;
+import org.eclipse.swt.events.MouseEvent;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swt.widgets.Table;
+import org.eclipse.ui.PlatformUI;
+
+
+/**
+ * This class implements the Dialog for Interceptor.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class InterceptorDialog extends Dialog
+{
+    /** The initial interceptors list */
+    private List<InterceptorEnum> initialInterceptors;
+
+    /** The available interceptors list */
+    private List<InterceptorEnum> availableInterceptors;
+
+    /** The selected interceptor */
+    private InterceptorEnum selectedInterceptor;
+
+    // UI Fields
+    private Table interceptorsTable;
+    private TableViewer interceptorsTableViewer;
+    private Button addButton;
+
+
+    /**
+     * Creates a new instance of InterceptorDialog.
+     */
+    public InterceptorDialog( List<InterceptorEnum> interceptors )
+    {
+        super( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell() );
+        this.initialInterceptors = interceptors;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
+     */
+    protected void configureShell( Shell newShell )
+    {
+        super.configureShell( newShell );
+        newShell.setText( Messages.getString("InterceptorDialog.AddAnInterceptor") ); //$NON-NLS-1$
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
+     */
+    protected Control createDialogArea( Composite parent )
+    {
+        Composite composite = new Composite( parent, SWT.NONE );
+        composite.setLayout( new GridLayout() );
+        composite.setLayoutData( new GridData( GridData.FILL, GridData.FILL, true, true ) );
+
+        // Choose Label
+        Label chooseLabel = new Label( composite, SWT.NONE );
+        chooseLabel.setText( Messages.getString("InterceptorDialog.ChooseAnInterceptor") ); //$NON-NLS-1$
+        chooseLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+
+        // Interceptors Table Viewer
+        interceptorsTable = new Table( composite, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL
+            | SWT.FULL_SELECTION | SWT.HIDE_SELECTION );
+        GridData gridData = new GridData( SWT.FILL, SWT.FILL, true, true );
+        gridData.heightHint = 148;
+        gridData.minimumHeight = 148;
+        gridData.widthHint = 350;
+        gridData.minimumWidth = 350;
+        interceptorsTable.setLayoutData( gridData );
+        interceptorsTable.addMouseListener( new MouseAdapter()
+        {
+            public void mouseDoubleClick( MouseEvent e )
+            {
+                if ( interceptorsTable.getSelectionIndex() != -1 )
+                {
+                    okPressed();
+                }
+            }
+        } );
+
+        interceptorsTableViewer = new TableViewer( interceptorsTable );
+        interceptorsTableViewer.setContentProvider( new ArrayContentProvider() );
+        interceptorsTableViewer.setLabelProvider( new LabelProvider()
+        {
+            public Image getImage( Object element )
+            {
+                return ApacheDSConfigurationPlugin.getDefault().getImage(
+                    ApacheDSConfigurationPluginConstants.IMG_INTERCEPTOR );
+            }
+
+
+            public String getText( Object element )
+            {
+                if ( element instanceof InterceptorEnum )
+                {
+                    return ( ( InterceptorEnum ) element ).getName();
+
+                }
+
+                return super.getText( element );
+            }
+        } );
+        interceptorsTableViewer.addSelectionChangedListener( new ISelectionChangedListener()
+        {
+            public void selectionChanged( SelectionChangedEvent event )
+            {
+                StructuredSelection selection = ( StructuredSelection ) interceptorsTableViewer.getSelection();
+                if ( selection.isEmpty() )
+                {
+                    if ( ( addButton != null ) && ( !addButton.isDisposed() ) )
+                    {
+                        addButton.setEnabled( false );
+                    }
+                }
+                else
+                {
+                    if ( ( addButton != null ) && ( !addButton.isDisposed() ) )
+                    {
+                        addButton.setEnabled( true );
+                    }
+                }
+            }
+        } );
+
+        initFromInput();
+
+        return composite;
+    }
+
+
+    /**
+     * Initializes the UI from the input.
+     */
+    private void initFromInput()
+    {
+        // Creating the available interceptors list
+        availableInterceptors = new ArrayList<InterceptorEnum>();
+        if ( !initialInterceptors.contains( InterceptorEnum.NORMALIZATION ) )
+        {
+            availableInterceptors.add( InterceptorEnum.NORMALIZATION );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.AUTHENTICATION ) )
+        {
+            availableInterceptors.add( InterceptorEnum.AUTHENTICATION );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.ACI_AUTHORIZATION ) )
+        {
+            availableInterceptors.add( InterceptorEnum.ACI_AUTHORIZATION );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.DEFAULT_AUTHORIZATION ) )
+        {
+            availableInterceptors.add( InterceptorEnum.DEFAULT_AUTHORIZATION );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.EXCEPTION ) )
+        {
+            availableInterceptors.add( InterceptorEnum.EXCEPTION );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.OPERATIONAL_ATTRIBUTE ) )
+        {
+            availableInterceptors.add( InterceptorEnum.OPERATIONAL_ATTRIBUTE );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.SCHEMA ) )
+        {
+            availableInterceptors.add( InterceptorEnum.SCHEMA );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.SUBENTRY ) )
+        {
+            availableInterceptors.add( InterceptorEnum.SUBENTRY );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.COLLECTIVE_ATTRIBUTE ) )
+        {
+            availableInterceptors.add( InterceptorEnum.COLLECTIVE_ATTRIBUTE );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.EVENT ) )
+        {
+            availableInterceptors.add( InterceptorEnum.EVENT );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.TRIGGER ) )
+        {
+            availableInterceptors.add( InterceptorEnum.TRIGGER );
+        }
+        if ( !initialInterceptors.contains( InterceptorEnum.REPLICATION ) )
+        {
+            availableInterceptors.add( InterceptorEnum.REPLICATION );
+        }
+
+        // Setting the input
+        interceptorsTableViewer.setInput( availableInterceptors );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
+     */
+    protected void createButtonsForButtonBar( Composite parent )
+    {
+        addButton = createButton( parent, IDialogConstants.OK_ID, "Add", true ); //$NON-NLS-1$
+        createButton( parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false );
+
+        addButton.setEnabled( false );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
+     */
+    protected void okPressed()
+    {
+        StructuredSelection selection = ( StructuredSelection ) interceptorsTableViewer.getSelection();
+        if ( !selection.isEmpty() )
+        {
+            selectedInterceptor = ( InterceptorEnum ) selection.getFirstElement();
+        }
+
+        super.okPressed();
+    }
+
+
+    /**
+     * Gets the interceptor.
+     *
+     * @return
+     *      the interceptor
+     */
+    public InterceptorEnum getInterceptor()
+    {
+        return selectedInterceptor;
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/Messages.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/Messages.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/Messages.java Tue Sep  8 16:44:44 2009
@@ -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.editor.v155.dialogs;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.apacheds.configuration.editor.v154.dialogs.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/editor/v155/dialogs/NtlmProviderDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/NtlmProviderDialog.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/NtlmProviderDialog.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/NtlmProviderDialog.java Tue Sep  8 16:44:44 2009
@@ -0,0 +1,158 @@
+/*
+ *  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.editor.v155.dialogs;
+
+
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.PlatformUI;
+
+
+/**
+ * This class implements the Dialog for NTML Provider.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class NtlmProviderDialog extends Dialog
+{
+    /** The initial value */
+    private String initialValue;
+
+    /** The return value */
+    private String returnValue;
+
+    /** The dirty flag */
+    private boolean dirty = false;
+
+    // UI Fields
+    private Text ntlmProviderText;
+
+
+    /**
+     * Creates a new instance of SaslRealmDialog.
+     */
+    public NtlmProviderDialog( String initialValue )
+    {
+        super( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell() );
+        this.initialValue = initialValue;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
+     */
+    protected void configureShell( Shell newShell )
+    {
+        super.configureShell( newShell );
+        newShell.setText( Messages.getString("NtlmProviderDialog.NtlmProviderDialog") ); //$NON-NLS-1$
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
+     */
+    protected Control createDialogArea( Composite parent )
+    {
+        Composite composite = new Composite( parent, SWT.NONE );
+        GridLayout layout = new GridLayout( 2, false );
+        composite.setLayout( layout );
+        composite.setLayoutData( new GridData( GridData.FILL, GridData.FILL, true, true ) );
+
+        Label ntlmProviderLabel = new Label( composite, SWT.NONE );
+        ntlmProviderLabel.setText( Messages.getString("NtlmProviderDialog.NtlmProvider") ); //$NON-NLS-1$
+
+        ntlmProviderText = new Text( composite, SWT.BORDER );
+        ntlmProviderText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+
+        initFromInput();
+        addListeners();
+
+        return composite;
+    }
+
+
+    /**
+     * Initializes the UI from the input.
+     */
+    private void initFromInput()
+    {
+        ntlmProviderText.setText( ( initialValue == null ) ? "" : initialValue ); //$NON-NLS-1$
+    }
+
+
+    /**
+     * Adds listeners to the UI Fields.
+     */
+    private void addListeners()
+    {
+        ntlmProviderText.addModifyListener( new ModifyListener()
+        {
+            public void modifyText( ModifyEvent e )
+            {
+                dirty = true;
+            }
+        } );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
+     */
+    protected void okPressed()
+    {
+        returnValue = ntlmProviderText.getText();
+
+        super.okPressed();
+    }
+
+
+    /**
+     * Gets the NTLM Provider.
+     *
+     * @return
+     *      the NTLM Provider
+     */
+    public String getNtlmProvider()
+    {
+        return returnValue;
+    }
+
+
+    /**
+     * Returns the dirty flag of the dialog.
+     *
+     * @return
+     *      the dirty flag of the dialog
+     */
+    public boolean isDirty()
+    {
+        return dirty;
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/SaslRealmDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/SaslRealmDialog.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/SaslRealmDialog.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/SaslRealmDialog.java Tue Sep  8 16:44:44 2009
@@ -0,0 +1,158 @@
+/*
+ *  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.editor.v155.dialogs;
+
+
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.PlatformUI;
+
+
+/**
+ * This class implements the Dialog for SASL Realm.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class SaslRealmDialog extends Dialog
+{
+    /** The initial value */
+    private String initialValue;
+
+    /** The return value */
+    private String returnValue;
+
+    /** The dirty flag */
+    private boolean dirty = false;
+
+    // UI Fields
+    private Text saslRealmText;
+
+
+    /**
+     * Creates a new instance of SaslRealmDialog.
+     */
+    public SaslRealmDialog( String initialValue )
+    {
+        super( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell() );
+        this.initialValue = initialValue;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
+     */
+    protected void configureShell( Shell newShell )
+    {
+        super.configureShell( newShell );
+        newShell.setText( Messages.getString("SaslRealmDialog.SaslRealmDialog") ); //$NON-NLS-1$
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
+     */
+    protected Control createDialogArea( Composite parent )
+    {
+        Composite composite = new Composite( parent, SWT.NONE );
+        GridLayout layout = new GridLayout( 2, false );
+        composite.setLayout( layout );
+        composite.setLayoutData( new GridData( GridData.FILL, GridData.FILL, true, true ) );
+
+        Label saslRealmLabel = new Label( composite, SWT.NONE );
+        saslRealmLabel.setText( Messages.getString("SaslRealmDialog.SaslRealm") ); //$NON-NLS-1$
+
+        saslRealmText = new Text( composite, SWT.BORDER );
+        saslRealmText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+
+        initFromInput();
+        addListeners();
+
+        return composite;
+    }
+
+
+    /**
+     * Initializes the UI from the input.
+     */
+    private void initFromInput()
+    {
+        saslRealmText.setText( ( initialValue == null ) ? "" : initialValue ); //$NON-NLS-1$
+    }
+
+
+    /**
+     * Adds listeners to the UI Fields.
+     */
+    private void addListeners()
+    {
+        saslRealmText.addModifyListener( new ModifyListener()
+        {
+            public void modifyText( ModifyEvent e )
+            {
+                dirty = true;
+            }
+        } );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
+     */
+    protected void okPressed()
+    {
+        returnValue = saslRealmText.getText();
+
+        super.okPressed();
+    }
+
+
+    /**
+     * Gets the SASL Realm.
+     *
+     * @return
+     *      the SASL Realm
+     */
+    public String getSaslRealm()
+    {
+        return returnValue;
+    }
+
+
+    /**
+     * Returns the dirty flag of the dialog.
+     *
+     * @return
+     *      the dirty flag of the dialog
+     */
+    public boolean isDirty()
+    {
+        return dirty;
+    }
+}

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages.properties?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages.properties (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages.properties Tue Sep  8 16:44:44 2009
@@ -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.
+
+AttributeValueDialog.Attribute=Attribute:
+AttributeValueDialog.AttributeValueDialog=Attribute Value Dialog
+AttributeValueDialog.Value=Value:
+ExtendedOperationDialog.AddAnExtendedOperation=Add An Extended Operation
+ExtendedOperationDialog.ChooseAnExtendedOperation=Choose an extended operation:
+IndexedAttributeDialog.AttributeID=Attribute ID:
+IndexedAttributeDialog.CacheSize=Cache Size:
+IndexedAttributeDialog.IndexedAttributeDialog=Indexed Attribute Dialog
+InterceptorDialog.AddAnInterceptor=Add An Interceptor
+InterceptorDialog.ChooseAnInterceptor=Choose an interceptor:
+NtlmProviderDialog.NtlmProvider=NTLM Provider:
+NtlmProviderDialog.NtlmProviderDialog=NTLM Provider Dialog
+SaslRealmDialog.SaslRealm=SASL Realm:
+SaslRealmDialog.SaslRealmDialog=SASL Realm Dialog

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages_de.properties?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages_de.properties (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages_de.properties Tue Sep  8 16:44:44 2009
@@ -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.
+
+AttributeValueDialog.Attribute=Attribut:
+AttributeValueDialog.AttributeValueDialog=Attribut Wert
+AttributeValueDialog.Value=Wert:
+ExtendedOperationDialog.AddAnExtendedOperation=Erweiterte Operation hinzuf\u00FCgen
+ExtendedOperationDialog.ChooseAnExtendedOperation=Erweiterete Operation ausw\u00E4hlen
+IndexedAttributeDialog.AttributeID=Attribut ID:
+IndexedAttributeDialog.CacheSize=Cachegr\u00F6\u00DFe:
+IndexedAttributeDialog.IndexedAttributeDialog=Indiziertes Attribut
+InterceptorDialog.AddAnInterceptor=Einen Interceptor hinzuf\u00FCgen
+InterceptorDialog.ChooseAnInterceptor=Interceptor ausw\u00E4hlen:
+NtlmProviderDialog.NtlmProvider=NTLM Provider:
+NtlmProviderDialog.NtlmProviderDialog=NTLM Provider
+SaslRealmDialog.SaslRealm=SASL Realm:
+SaslRealmDialog.SaslRealmDialog=SASL Realm

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages_fr.properties?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages_fr.properties (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/dialogs/messages_fr.properties Tue Sep  8 16:44:44 2009
@@ -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.
+
+AttributeValueDialog.Attribute=Attribut:
+AttributeValueDialog.AttributeValueDialog=Dialogue d'attribut-valeur
+AttributeValueDialog.Value=Valeur:
+ExtendedOperationDialog.AddAnExtendedOperation=Ajouter une op\u00E9ration \u00E9tendue
+ExtendedOperationDialog.ChooseAnExtendedOperation=Choisissez une op\u00E9ration \u00E9tendue:
+IndexedAttributeDialog.AttributeID=ID de l'attribut:
+IndexedAttributeDialog.CacheSize=Taille du cache:
+IndexedAttributeDialog.IndexedAttributeDialog=Dialogue d'attribut index\u00E9
+InterceptorDialog.AddAnInterceptor=Ajouter un intercepteur
+InterceptorDialog.ChooseAnInterceptor=Choisissez un intercepteur:
+NtlmProviderDialog.NtlmProvider=Fournisseur NTLM:
+NtlmProviderDialog.NtlmProviderDialog=Dialogue de fournisseur NTLM
+SaslRealmDialog.SaslRealm=Realm SASL:
+SaslRealmDialog.SaslRealmDialog=Dialogue de realm SASL

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages.properties?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages.properties (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages.properties Tue Sep  8 16:44:44 2009
@@ -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=Add...
+AuthenticationPage.Authentication=Authentication
+AuthenticationPage.Delete=Delete
+AuthenticationPage.DeselectAll=Deselect All
+AuthenticationPage.Edit=Edit...
+AuthenticationPage.SaslHost=SASL Host:
+AuthenticationPage.SaslPrincipal=SASL Principal:
+AuthenticationPage.SaslQualityOfProtection=SASL Quality Of Protection
+AuthenticationPage.SaslRealms=SASL Realms
+AuthenticationPage.SaslSettings=SASL Settings
+AuthenticationPage.SearchBaseDN=Search Base DN:
+AuthenticationPage.SelectAll=Select All
+AuthenticationPage.SupportedAuthenticationMechanisms=Supported Authentication Mechanisms
+ExtendedOperationDetailsPage.Description=Description:
+ExtendedOperationDetailsPage.Name=Name:
+ExtendedOperationsMasterDetailsBlock.Add=Add...
+ExtendedOperationsMasterDetailsBlock.AllExtendedOperations=All Extended Operations
+ExtendedOperationsMasterDetailsBlock.Delete=Delete
+ExtendedOperationsPage.ExtendedOperations=Extended Operations
+GeneralPage.AllowAnonymousAccess=Allow Anonymous Access
+GeneralPage.DenormalizeOperationalAttributes=Denormalize Operational Attributes
+GeneralPage.EnableAccessControl=Enable Access Control
+GeneralPage.EnableChangePassword=Enable Change Password
+GeneralPage.EnableDNS=Enable DNS
+GeneralPage.EnableKerberos=Enable Kerberos
+GeneralPage.EnableLDAP=Enable LDAP
+GeneralPage.EnableLDAPS=Enable LDAPS
+GeneralPage.EnableNTP=Enable NTP
+GeneralPage.General=General
+GeneralPage.Limits=Limits
+GeneralPage.MaxSizeLimit=Max. Size Limit:
+GeneralPage.MaxThreads=Max. Threads:
+GeneralPage.MaxTimeLimit=Max. Time Limit:
+GeneralPage.Options=Options
+GeneralPage.Port=Port:
+GeneralPage.Protocols=Protocols
+GeneralPage.SyncPeriod=Synchronization Period:
+InterceptorDetailsPage.Description=Description:
+InterceptorDetailsPage.Name=Name:
+InterceptorsMasterDetailsBlock.Add=Add...
+InterceptorsMasterDetailsBlock.AllInterceptors=All Interceptors
+InterceptorsMasterDetailsBlock.Delete=Delete
+InterceptorsMasterDetailsBlock.Down=Down
+InterceptorsMasterDetailsBlock.SetTheInterceptorsDescription=\ Set the Interceptors used in the server. Use the "Up" and "Down" buttons to change the order.
+InterceptorsMasterDetailsBlock.Up=Up
+InterceptorsPage.Interceptors=Interceptors
+PartitionDetailsPage.Add=Add...
+PartitionDetailsPage.CacheSize=Cache Size:
+PartitionDetailsPage.Delete=Delete
+PartitionDetailsPage.Edit=Edit...
+PartitionDetailsPage.EnableOptimizer=Enable optimizer
+PartitionDetailsPage.ID=ID:
+PartitionDetailsPage.IndexedAttributes=Indexed Attributes
+PartitionDetailsPage.IndexedAttributesDescription=Set the indexed attributes of the partition.
+PartitionDetailsPage.PartitionDetails=Partition Details
+PartitionDetailsPage.PartitionsDetailsDescription=Set the properties of the partition.
+PartitionDetailsPage.Suffix=Suffix:
+PartitionDetailsPage.SynchronizationOnWrite=Synchronization on write
+PartitionsMasterDetailsBlock.Add=Add...
+PartitionsMasterDetailsBlock.AllPartitions=All Partitions
+PartitionsMasterDetailsBlock.Delete=Delete
+PartitionsMasterDetailsBlock.NewPartition=New Partition 
+PartitionsPage.Partitions=Partitions

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages_de.properties?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages_de.properties (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages_de.properties Tue Sep  8 16:44:44 2009
@@ -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=Hinzuf\u00FCgen...
+AuthenticationPage.Authentication=Authentifizierung
+AuthenticationPage.Delete=L\u00F6schen
+AuthenticationPage.DeselectAll=Alle abw\u00E4hlen
+AuthenticationPage.Edit=Bearbeiten...
+AuthenticationPage.SaslHost=SASL Host:
+AuthenticationPage.SaslPrincipal=SASL Principal:
+AuthenticationPage.SaslQualityOfProtection=SASL Quality Of Protection
+AuthenticationPage.SaslRealms=SASL Realms
+AuthenticationPage.SaslSettings=SASL Einstellungen
+AuthenticationPage.SearchBaseDN=Basis-DN f\u00FCr Suche:
+AuthenticationPage.SelectAll=Alle ausw\u00E4hlen
+AuthenticationPage.SupportedAuthenticationMechanisms=Unterst\u00FCtzte Authentifizierungsmechanismen
+ExtendedOperationDetailsPage.Description=Beschreibung:
+ExtendedOperationDetailsPage.Name=Name:
+ExtendedOperationsMasterDetailsBlock.Add=Hinzuf\u00FCgen...
+ExtendedOperationsMasterDetailsBlock.AllExtendedOperations=Alle erweiterten Operationen
+ExtendedOperationsMasterDetailsBlock.Delete=L\u00F6schen
+ExtendedOperationsPage.ExtendedOperations=Erweiterte Operationen
+GeneralPage.AllowAnonymousAccess=Anonymen Zugriff erlauben
+GeneralPage.DenormalizeOperationalAttributes=Operationale Attribute denormalisieren
+GeneralPage.EnableAccessControl=Zugriffskontrolle aktivieren
+GeneralPage.EnableChangePassword=Change Password aktivieren
+GeneralPage.EnableDNS=DNS aktivieren
+GeneralPage.EnableKerberos=Kerberos aktivieren
+GeneralPage.EnableLDAP=LDAP aktivieren
+GeneralPage.EnableLDAPS=LDAPS aktivieren
+GeneralPage.EnableNTP=NTP aktivieren
+GeneralPage.General=Allgemein
+GeneralPage.Limits=Limits
+GeneralPage.MaxSizeLimit=Max. Anzahl Limit:
+GeneralPage.MaxThreads=Max. Threads:
+GeneralPage.MaxTimeLimit=Max. Zeit Limit:
+GeneralPage.Options=Optionen
+GeneralPage.Port=Port:
+GeneralPage.Protocols=Protokolle
+GeneralPage.SyncPeriod=Synchronisation Abstand:
+InterceptorDetailsPage.Description=Beschreibung:
+InterceptorDetailsPage.Name=Name:
+InterceptorsMasterDetailsBlock.Add=Hinzuf\u00FCgen...
+InterceptorsMasterDetailsBlock.AllInterceptors=Alle Interceptoren
+InterceptorsMasterDetailsBlock.Delete=L\u00F6schen
+InterceptorsMasterDetailsBlock.Down=Ab
+InterceptorsMasterDetailsBlock.SetTheInterceptorsDescription=\ Setzen der genutzen Interceptoren im Server. "Ab" und "Auf" ver\u00E4ndert die Reihenfolge.
+InterceptorsMasterDetailsBlock.Up=Auf
+InterceptorsPage.Interceptors=Interceptoren
+PartitionDetailsPage.Add=Hinzuf\u00FCgen...
+PartitionDetailsPage.CacheSize=Cache Gr\u00F6\u00DFe:
+PartitionDetailsPage.Delete=L\u00F6schen
+PartitionDetailsPage.Edit=Bearbeiten...
+PartitionDetailsPage.EnableOptimizer=Optimierer aktivieren
+PartitionDetailsPage.ID=ID:
+PartitionDetailsPage.IndexedAttributes=Indizierte Attribute
+PartitionDetailsPage.IndexedAttributesDescription=Indizierte Attribute der Partition.
+PartitionDetailsPage.PartitionDetails=Partitions-Details
+PartitionDetailsPage.PartitionsDetailsDescription=Eigenschaften der Partition
+PartitionDetailsPage.Suffix=Suffix:
+PartitionDetailsPage.SynchronizationOnWrite=Beim Schreiben synchronisieren
+PartitionsMasterDetailsBlock.Add=Hinzuf\u00FCgen...
+PartitionsMasterDetailsBlock.AllPartitions=Alle Partitionen
+PartitionsMasterDetailsBlock.Delete=L\u00F6schen
+PartitionsMasterDetailsBlock.NewPartition=Neue Partition 
+PartitionsPage.Partitions=Partitionen

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages_fr.properties?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages_fr.properties (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/messages_fr.properties Tue Sep  8 16:44:44 2009
@@ -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=812580&r1=812579&r2=812580&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 Sep  8 16:44:44 2009
@@ -28,6 +28,17 @@
  */
 public enum ServerConfigurationVersionEnum
 {
+    /** Version 1.5.5 */
+    VERSION_1_5_5
+    {
+        /* (non-Javadoc)
+         * @see java.lang.Enum#toString()
+         */
+        public String toString()
+        {
+            return Messages.getString( "ServerConfigurationVersionEnum.Version155" ); //$NON-NLS-1$
+        }
+    },
     /** Version 1.5.4 */
     VERSION_1_5_4
     {

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=812580&r1=812579&r2=812580&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 Sep  8 16:44:44 2009
@@ -21,3 +21,4 @@
 ServerConfigurationVersionEnum.Version152=Version 1.5.2
 ServerConfigurationVersionEnum.Version153=Version 1.5.3
 ServerConfigurationVersionEnum.Version154=Version 1.5.4
+ServerConfigurationVersionEnum.Version154=Version 1.5.5

Added: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ExtendedOperationEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ExtendedOperationEnum.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ExtendedOperationEnum.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ExtendedOperationEnum.java Tue Sep  8 16:44:44 2009
@@ -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.v155;
+
+
+/**
+ * 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/v155/IndexedAttribute.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/IndexedAttribute.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/IndexedAttribute.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/IndexedAttribute.java Tue Sep  8 16:44:44 2009
@@ -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.v155;
+
+
+/**
+ * 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/v155/InterceptorConfiguration.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/InterceptorConfiguration.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/InterceptorConfiguration.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/InterceptorConfiguration.java Tue Sep  8 16:44:44 2009
@@ -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.v155;
+
+
+/**
+ * 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/v155/InterceptorEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/InterceptorEnum.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/InterceptorEnum.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/InterceptorEnum.java Tue Sep  8 16:44:44 2009
@@ -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.v155;
+
+
+/**
+ * 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/v155/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/Messages.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/Messages.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/Messages.java Tue Sep  8 16:44:44 2009
@@ -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.v155;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.apacheds.configuration.model.v155.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/v155/Partition.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/Partition.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/Partition.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/Partition.java Tue Sep  8 16:44:44 2009
@@ -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.v155;
+
+
+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/v155/ReplicationInterceptorConfiguration.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ReplicationInterceptorConfiguration.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ReplicationInterceptorConfiguration.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/ReplicationInterceptorConfiguration.java Tue Sep  8 16:44:44 2009
@@ -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.v155;
+
+/**
+ * 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/v155/SaslQualityOfProtectionEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/SaslQualityOfProtectionEnum.java?rev=812580&view=auto
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/SaslQualityOfProtectionEnum.java (added)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/v155/SaslQualityOfProtectionEnum.java Tue Sep  8 16:44:44 2009
@@ -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.v155;
+
+
+/**
+ * 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;
+    }
+}



Mime
View raw message