directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r500206 - /directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/dialogs/properties/ConnectionPropertyPage.java
Date Fri, 26 Jan 2007 10:12:17 GMT
Author: pamarcelot
Date: Fri Jan 26 02:12:16 2007
New Revision: 500206

URL: http://svn.apache.org/viewvc?view=rev&rev=500206
Log:
Fixed DIRSTUDIO-18 (Password field disabled when switching from Anonymous to Simple Authentication).

Modified:
    directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/dialogs/properties/ConnectionPropertyPage.java

Modified: directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/dialogs/properties/ConnectionPropertyPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/dialogs/properties/ConnectionPropertyPage.java?view=diff&rev=500206&r1=500205&r2=500206
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/dialogs/properties/ConnectionPropertyPage.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/dialogs/properties/ConnectionPropertyPage.java
Fri Jan 26 02:12:16 2007
@@ -132,7 +132,7 @@
         gl = new GridLayout( 1, false );
         authComposite.setLayout( gl );
         cpw.addAuthenticationMethodInput( connection.getAuthMethod(), authComposite );
-        cpw.addSimpleAuthInput( connection.getBindPassword() != null,
+        cpw.addSimpleAuthInput( ( connection.getBindPassword() != null ) || ( connection.getBindPrincipal()
== null && connection.getBindPassword() == null ),
             connection.getBindPrincipal() != null ? connection.getBindPrincipal().toString()
: "", connection
                 .getBindPassword() != null ? connection.getBindPassword() : "", authComposite
);
         this.authTab = new TabItem( this.tabFolder, SWT.NONE );



Mime
View raw message