directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r829042 - in /directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor: v150/ v151/ v152/ v153/ v154/ v155/
Date Fri, 23 Oct 2009 13:02:59 GMT
Author: pamarcelot
Date: Fri Oct 23 13:02:58 2009
New Revision: 829042

URL: http://svn.apache.org/viewvc?rev=829042&view=rev
Log:
Added default values for the newly created partition.

Modified:
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/PartitionsMasterDetailsBlock.java
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/PartitionsMasterDetailsBlock.java
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/PartitionsMasterDetailsBlock.java
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/PartitionsMasterDetailsBlock.java
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/PartitionsMasterDetailsBlock.java
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/PartitionsMasterDetailsBlock.java

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/PartitionsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/PartitionsMasterDetailsBlock.java?rev=829042&r1=829041&r2=829042&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/PartitionsMasterDetailsBlock.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/PartitionsMasterDetailsBlock.java
Fri Oct 23 13:02:58 2009
@@ -20,6 +20,7 @@
 package org.apache.directory.studio.apacheds.configuration.editor.v150;
 
 
+import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationPlugin;
@@ -27,6 +28,7 @@
 import org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor;
 import org.apache.directory.studio.apacheds.configuration.model.v150.Partition;
 import org.apache.directory.studio.apacheds.configuration.model.v150.ServerConfigurationV150;
+import org.apache.directory.studio.apacheds.configuration.model.v150.IndexedAttribute;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.viewers.ArrayContentProvider;
 import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -199,6 +201,26 @@
             public void widgetSelected( SelectionEvent e )
             {
                 Partition newPartition = new Partition( getNewId() );
+
+                // Default values
+                newPartition.setCacheSize( 100 );
+                newPartition.setEnableOptimizer( true );
+                newPartition.setSynchronizationOnWrite( true );
+                List<IndexedAttribute> indexedAttributes = new ArrayList<IndexedAttribute>();
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.1",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.2",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.3",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.4",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.5",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.6",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.7",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "dc", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "ou", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "krb5PrincipalName", 100 ) );
//$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "uid", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "objectClass", 100 ) ); //$NON-NLS-1$
+                newPartition.setIndexedAttributes( indexedAttributes );
+
                 partitions.add( newPartition );
                 viewer.refresh();
                 viewer.setSelection( new StructuredSelection( newPartition ) );

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/PartitionsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/PartitionsMasterDetailsBlock.java?rev=829042&r1=829041&r2=829042&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/PartitionsMasterDetailsBlock.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/PartitionsMasterDetailsBlock.java
Fri Oct 23 13:02:58 2009
@@ -20,6 +20,7 @@
 package org.apache.directory.studio.apacheds.configuration.editor.v151;
 
 
+import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationPlugin;
@@ -27,6 +28,7 @@
 import org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor;
 import org.apache.directory.studio.apacheds.configuration.model.v151.Partition;
 import org.apache.directory.studio.apacheds.configuration.model.v151.ServerConfigurationV151;
+import org.apache.directory.studio.apacheds.configuration.model.v151.IndexedAttribute;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.viewers.ArrayContentProvider;
 import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -199,6 +201,26 @@
             public void widgetSelected( SelectionEvent e )
             {
                 Partition newPartition = new Partition( getNewId() );
+
+                // Default values
+                newPartition.setCacheSize( 100 );
+                newPartition.setEnableOptimizer( true );
+                newPartition.setSynchronizationOnWrite( true );
+                List<IndexedAttribute> indexedAttributes = new ArrayList<IndexedAttribute>();
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.1",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.2",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.3",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.4",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.5",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.6",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.7",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "dc", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "ou", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "krb5PrincipalName", 100 ) );
//$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "uid", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "objectClass", 100 ) ); //$NON-NLS-1$
+                newPartition.setIndexedAttributes( indexedAttributes );
+
                 partitions.add( newPartition );
                 viewer.refresh();
                 viewer.setSelection( new StructuredSelection( newPartition ) );

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/PartitionsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/PartitionsMasterDetailsBlock.java?rev=829042&r1=829041&r2=829042&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/PartitionsMasterDetailsBlock.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/PartitionsMasterDetailsBlock.java
Fri Oct 23 13:02:58 2009
@@ -20,6 +20,7 @@
 package org.apache.directory.studio.apacheds.configuration.editor.v152;
 
 
+import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationPlugin;
@@ -27,6 +28,7 @@
 import org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor;
 import org.apache.directory.studio.apacheds.configuration.model.v152.Partition;
 import org.apache.directory.studio.apacheds.configuration.model.v152.ServerConfigurationV152;
+import org.apache.directory.studio.apacheds.configuration.model.v152.IndexedAttribute;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.viewers.ArrayContentProvider;
 import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -199,6 +201,26 @@
             public void widgetSelected( SelectionEvent e )
             {
                 Partition newPartition = new Partition( getNewId() );
+
+                // Default values
+                newPartition.setCacheSize( 100 );
+                newPartition.setEnableOptimizer( true );
+                newPartition.setSynchronizationOnWrite( true );
+                List<IndexedAttribute> indexedAttributes = new ArrayList<IndexedAttribute>();
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.1",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.2",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.3",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.4",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.5",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.6",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.7",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "dc", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "ou", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "krb5PrincipalName", 100 ) );
//$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "uid", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "objectClass", 100 ) ); //$NON-NLS-1$
+                newPartition.setIndexedAttributes( indexedAttributes );
+
                 partitions.add( newPartition );
                 viewer.refresh();
                 viewer.setSelection( new StructuredSelection( newPartition ) );

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/PartitionsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/PartitionsMasterDetailsBlock.java?rev=829042&r1=829041&r2=829042&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/PartitionsMasterDetailsBlock.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/PartitionsMasterDetailsBlock.java
Fri Oct 23 13:02:58 2009
@@ -20,6 +20,7 @@
 package org.apache.directory.studio.apacheds.configuration.editor.v153;
 
 
+import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationPlugin;
@@ -27,6 +28,7 @@
 import org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor;
 import org.apache.directory.studio.apacheds.configuration.model.v153.Partition;
 import org.apache.directory.studio.apacheds.configuration.model.v153.ServerConfigurationV153;
+import org.apache.directory.studio.apacheds.configuration.model.v153.IndexedAttribute;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.viewers.ArrayContentProvider;
 import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -199,6 +201,26 @@
             public void widgetSelected( SelectionEvent e )
             {
                 Partition newPartition = new Partition( getNewId() );
+
+                // Default values
+                newPartition.setCacheSize( 100 );
+                newPartition.setEnableOptimizer( true );
+                newPartition.setSynchronizationOnWrite( true );
+                List<IndexedAttribute> indexedAttributes = new ArrayList<IndexedAttribute>();
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.1",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.2",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.3",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.4",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.5",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.6",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.7",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "dc", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "ou", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "krb5PrincipalName", 100 ) );
//$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "uid", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "objectClass", 100 ) ); //$NON-NLS-1$
+                newPartition.setIndexedAttributes( indexedAttributes );
+
                 partitions.add( newPartition );
                 viewer.refresh();
                 viewer.setSelection( new StructuredSelection( newPartition ) );

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/PartitionsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/PartitionsMasterDetailsBlock.java?rev=829042&r1=829041&r2=829042&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/PartitionsMasterDetailsBlock.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/PartitionsMasterDetailsBlock.java
Fri Oct 23 13:02:58 2009
@@ -20,6 +20,7 @@
 package org.apache.directory.studio.apacheds.configuration.editor.v154;
 
 
+import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationPlugin;
@@ -27,6 +28,7 @@
 import org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor;
 import org.apache.directory.studio.apacheds.configuration.model.v154.Partition;
 import org.apache.directory.studio.apacheds.configuration.model.v154.ServerConfigurationV154;
+import org.apache.directory.studio.apacheds.configuration.model.v154.IndexedAttribute;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.viewers.ArrayContentProvider;
 import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -200,6 +202,26 @@
             public void widgetSelected( SelectionEvent e )
             {
                 Partition newPartition = new Partition( getNewId() );
+
+                // Default values
+                newPartition.setCacheSize( 100 );
+                newPartition.setEnableOptimizer( true );
+                newPartition.setSynchronizationOnWrite( true );
+                List<IndexedAttribute> indexedAttributes = new ArrayList<IndexedAttribute>();
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.1",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.2",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.3",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.4",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.5",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.6",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.7",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "dc", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "ou", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "krb5PrincipalName", 100 ) );
//$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "uid", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "objectClass", 100 ) ); //$NON-NLS-1$
+                newPartition.setIndexedAttributes( indexedAttributes );
+
                 partitions.add( newPartition );
                 viewer.refresh();
                 viewer.setSelection( new StructuredSelection( newPartition ) );

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/PartitionsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/PartitionsMasterDetailsBlock.java?rev=829042&r1=829041&r2=829042&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/PartitionsMasterDetailsBlock.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v155/PartitionsMasterDetailsBlock.java
Fri Oct 23 13:02:58 2009
@@ -20,11 +20,13 @@
 package org.apache.directory.studio.apacheds.configuration.editor.v155;
 
 
+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.editor.ServerConfigurationEditor;
+import org.apache.directory.studio.apacheds.configuration.model.v155.IndexedAttribute;
 import org.apache.directory.studio.apacheds.configuration.model.v155.Partition;
 import org.apache.directory.studio.apacheds.configuration.model.v155.ServerConfigurationV155;
 import org.eclipse.jface.action.Action;
@@ -200,6 +202,26 @@
             public void widgetSelected( SelectionEvent e )
             {
                 Partition newPartition = new Partition( getNewId() );
+
+                // Default values
+                newPartition.setCacheSize( 100 );
+                newPartition.setEnableOptimizer( true );
+                newPartition.setSynchronizationOnWrite( true );
+                List<IndexedAttribute> indexedAttributes = new ArrayList<IndexedAttribute>();
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.1",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.2",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.3",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.4",
100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.5",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.6",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "1.3.6.1.4.1.18060.0.4.1.2.7",
10 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "dc", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "ou", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "krb5PrincipalName", 100 ) );
//$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "uid", 100 ) ); //$NON-NLS-1$
+                indexedAttributes.add( new IndexedAttribute( "objectClass", 100 ) ); //$NON-NLS-1$
+                newPartition.setIndexedAttributes( indexedAttributes );
+
                 partitions.add( newPartition );
                 viewer.refresh();
                 viewer.setSelection( new StructuredSelection( newPartition ) );



Mime
View raw message