directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1199750 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.java
Date Wed, 09 Nov 2011 13:41:00 GMT
Author: pamarcelot
Date: Wed Nov  9 13:41:00 2011
New Revision: 1199750

URL: http://svn.apache.org/viewvc?rev=1199750&view=rev
Log:
Fixed listeners for NTLM and GSS SPNEGO mechanisms.

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

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.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/LdapLdapsServersPage.java?rev=1199750&r1=1199749&r2=1199750&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.java
Wed Nov  9 13:41:00 2011
@@ -414,7 +414,7 @@ public class LdapLdapsServersPage extend
         authMechNtlmText.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false )
);
         authMechNtlmComposite.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, false, false,
3, 1 ) );
 
-        // GSS-SPENEGO
+        // GSS-SPNEGO
         authMechGssSpnegoCheckbox = toolkit.createButton( composite, "GSS-SPNEGO", SWT.CHECK
);
         authMechGssSpnegoCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true,
false ) );
         Composite authMechGssSpnegoComposite = toolkit.createComposite( composite );
@@ -518,13 +518,20 @@ public class LdapLdapsServersPage extend
         // Auth Mechanisms NTLM Checkbox
         addDirtyListener( authMechNtlmCheckbox );
         addSelectionListener( authMechNtlmCheckbox, authMechNtlmCheckboxListener );
+        
+        // Auth Mechanisms NTLM Text
+        addDirtyListener( authMechNtlmText );
         addModifyListener( authMechNtlmText, authMechNtlmTextListener );
 
-        // Auth Mechanisms GSS SPENEGO Checkbox
+        // Auth Mechanisms GSS SPNEGO Checkbox
         addDirtyListener( authMechGssSpnegoCheckbox );
         addSelectionListener( authMechGssSpnegoCheckbox, authMechGssSpnegoCheckboxListener
);
         addModifyListener( authMechGssSpnegoText, authMechGssSpnegoTextListener );
 
+        // Auth Mechanisms GSS SPNEGO Text
+        addDirtyListener( authMechGssSpnegoText );
+        addModifyListener( authMechGssSpnegoText, authMechGssSpnegoTextListener );
+
         // SASL Host Text
         addDirtyListener( saslHostText );
         addModifyListener( saslHostText, saslHostTextListener );
@@ -589,11 +596,19 @@ public class LdapLdapsServersPage extend
         removeSelectionListener( authMechNtlmCheckbox, authMechNtlmCheckboxListener );
         removeModifyListener( authMechNtlmText, authMechNtlmTextListener );
 
-        // Auth Mechanisms GSS SPENEGO Checkbox
+        // Auth Mechanisms NTLM Text
+        removeDirtyListener( authMechNtlmText );
+        removeModifyListener( authMechNtlmText, authMechNtlmTextListener );
+
+        // Auth Mechanisms GSS SPNEGO Checkbox
         removeDirtyListener( authMechGssSpnegoCheckbox );
         removeSelectionListener( authMechGssSpnegoCheckbox, authMechGssSpnegoCheckboxListener
);
         removeModifyListener( authMechGssSpnegoText, authMechGssSpnegoTextListener );
 
+        // Auth Mechanisms GSS SPNEGO Text
+        removeDirtyListener( authMechGssSpnegoText );
+        removeModifyListener( authMechGssSpnegoText, authMechGssSpnegoTextListener );
+
         // SASL Host Text
         removeDirtyListener( saslHostText );
         removeModifyListener( saslHostText, saslHostTextListener );



Mime
View raw message