directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1444750 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
Date Mon, 11 Feb 2013 12:35:20 GMT
Author: pamarcelot
Date: Mon Feb 11 12:35:20 2013
New Revision: 1444750

URL: http://svn.apache.org/r1444750
Log:
Fixed compilation failure. Removed Kerberos Principal text field.

Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java?rev=1444750&r1=1444749&r2=1444750&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
Mon Feb 11 12:35:20 2013
@@ -64,7 +64,6 @@ public class KerberosServerPage extends 
     private Text kerberosPortText;
     private Button enableChangePasswordCheckbox;
     private Text changePasswordPortText;
-    private Text kdcPrincipalText;
     private Text primaryKdcRealmText;
     private Text kdcSearchBaseDnText;
     private Text encryptionTypesText;
@@ -111,13 +110,6 @@ public class KerberosServerPage extends 
                 Integer.parseInt( changePasswordPortText.getText() ) );
         }
     };
-    private ModifyListener kdcPrincipalTextListener = new ModifyListener()
-    {
-        public void modifyText( ModifyEvent e )
-        {
-            getKdcServerBean().setKrbKdcPrincipal( kdcPrincipalText.getText() );
-        }
-    };
     private ModifyListener primaryKdcRealmTextListener = new ModifyListener()
     {
         public void modifyText( ModifyEvent e )
@@ -326,13 +318,6 @@ public class KerberosServerPage extends 
         composite.setLayout( glayout );
         section.setClient( composite );
 
-        // KDC Principal Text
-        toolkit.createLabel( composite, Messages.getString( "KerberosServerPage.KdcPrincipal"
) ); //$NON-NLS-1$
-        kdcPrincipalText = toolkit.createText( composite, "" ); //$NON-NLS-1$
-        setGridDataWithDefaultWidth( kdcPrincipalText, new GridData( SWT.FILL, SWT.NONE,
true, false ) );
-        Label defaultSaslHostLabel = createDefaultValueLabel( toolkit, composite, "krbtgt/EXAMPLE.COM@EXAMPLE.COM"
); //$NON-NLS-1$
-        defaultSaslHostLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false,
2, 1 ) );
-
         // SASL Principal Text
         toolkit.createLabel( composite, Messages.getString( "KerberosServerPage.PrimaryKdcRealm"
) ); //$NON-NLS-1$
         primaryKdcRealmText = toolkit.createText( composite, "" ); //$NON-NLS-1$
@@ -449,7 +434,6 @@ public class KerberosServerPage extends 
         setText( changePasswordPortText, "" + getChangePasswordServerTransportBean().getSystemPort()
); //$NON-NLS-1$
 
         // Kerberos Settings
-        setText( kdcPrincipalText, kdcServerBean.getKrbKdcPrincipal().toString() );
         setText( primaryKdcRealmText, kdcServerBean.getKrbPrimaryRealm() );
         setText( kdcSearchBaseDnText, kdcServerBean.getSearchBaseDn().toString() );
         setText( encryptionTypesText, kdcServerBean.getKrbEncryptionTypes().toString() );
@@ -490,10 +474,6 @@ public class KerberosServerPage extends 
         addDirtyListener( changePasswordPortText );
         addModifyListener( changePasswordPortText, changePasswordPortTextListener );
 
-        // KDC Principal Text
-        addDirtyListener( kdcPrincipalText );
-        addModifyListener( kdcPrincipalText, kdcPrincipalTextListener );
-
         // Primary KDC Text
         addDirtyListener( primaryKdcRealmText );
         addModifyListener( primaryKdcRealmText, primaryKdcRealmTextListener );
@@ -566,10 +546,6 @@ public class KerberosServerPage extends 
         removeDirtyListener( changePasswordPortText );
         removeModifyListener( changePasswordPortText, changePasswordPortTextListener );
 
-        // KDC Principal Text
-        removeDirtyListener( kdcPrincipalText );
-        removeModifyListener( kdcPrincipalText, kdcPrincipalTextListener );
-
         // Primary KDC Text
         removeDirtyListener( primaryKdcRealmText );
         removeModifyListener( primaryKdcRealmText, primaryKdcRealmTextListener );



Mime
View raw message