chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1002078 - /incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/LoginDialog.java
Date Tue, 28 Sep 2010 09:50:28 GMT
Author: fmui
Date: Tue Sep 28 09:50:27 2010
New Revision: 1002078

URL: http://svn.apache.org/viewvc?rev=1002078&view=rev
Log:
- bug fix: use the right system property

Modified:
    incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/LoginDialog.java

Modified: incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/LoginDialog.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/LoginDialog.java?rev=1002078&r1=1002077&r2=1002078&view=diff
==============================================================================
--- incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/LoginDialog.java
(original)
+++ incubator/chemistry/opencmis-swingclient/trunk/src/main/java/org/apache/chemistry/opencmis/swingclient/LoginDialog.java
Tue Sep 28 09:50:27 2010
@@ -211,8 +211,8 @@ public class LoginDialog extends JDialog
 
     private void createAuthenticationButtons(Container pane, int row) {
         JPanel authenticationContainer = new JPanel();
-        boolean standard = (System.getProperty(SYSPROP_BINDING, "standard").toLowerCase().equals("standard"));
-        boolean ntlm = (System.getProperty(SYSPROP_BINDING, "").toLowerCase().equals("ntlm"));
+        boolean standard = (System.getProperty(SYSPROP_AUTHENTICATION, "standard").toLowerCase().equals("standard"));
+        boolean ntlm = (System.getProperty(SYSPROP_AUTHENTICATION, "").toLowerCase().equals("ntlm"));
         boolean none = !standard && !ntlm;
         authenticationNoneButton = new JRadioButton("None", none);
         authenticationStandardButton = new JRadioButton("Standard", standard);



Mime
View raw message