directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1771513 - /directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
Date Sat, 26 Nov 2016 21:10:29 GMT
Author: seelmann
Date: Sat Nov 26 21:10:29 2016
New Revision: 1771513

URL: http://svn.apache.org/viewvc?rev=1771513&view=rev
Log:
DIRSTUDIO-1130: Password from Keystore not used (contributed by Mathias Frohna)

Modified:
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java?rev=1771513&r1=1771512&r2=1771513&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
Sat Nov 26 21:10:29 2016
@@ -73,7 +73,7 @@ public class UIAuthHandler implements IA
                 String password = passwordsKeyStoreManager.getConnectionPassword( connectionParameter.getId()
);
 
                 // Checking if the bind password is available (the user chose to store the
password)
-                if ( Strings.isEmpty( password ) ) //$NON-NLS-1$
+                if ( !Strings.isEmpty( password ) ) //$NON-NLS-1$
                 {
                     return new Credentials( connectionParameter.getBindPrincipal(),
                         password, connectionParameter );



Mime
View raw message