You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/07/05 12:28:02 UTC

svn commit: r960528 - /jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java

Author: sebb
Date: Mon Jul  5 10:28:01 2010
New Revision: 960528

URL: http://svn.apache.org/viewvc?rev=960528&view=rev
Log:
Bug 45053 - SMTP-Sampler for JMeter
+ Fix trustAllCerts so it applies also to StartTLS option

Modified:
    jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java

Modified: jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java?rev=960528&r1=960527&r2=960528&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java (original)
+++ jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java Mon Jul  5 10:28:01 2010
@@ -594,6 +594,7 @@ public class SmtpPanel extends JPanel {
         gridBagConstraintsMain = new GridBagConstraints();
         gridBagConstraintsMain.fill = GridBagConstraints.HORIZONTAL;
         gridBagConstraintsMain.anchor = GridBagConstraints.WEST;
+        gridBagConstraintsMain.weightx = 0.5;
 
         gridBagConstraints = new GridBagConstraints();
         gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
@@ -1081,7 +1082,7 @@ public class SmtpPanel extends JPanel {
             cbUseLocalTrustStore.setEnabled(true);
             tfTrustStoreToUse.setEditable(false);
         } else if (source == rbUseStartTLS) {
-            cbTrustAllCerts.setEnabled(false);
+            cbTrustAllCerts.setEnabled(true);
             cbTrustAllCerts.setSelected(false);
             cbEnforceStartTLS.setEnabled(true);
             cbUseLocalTrustStore.setEnabled(true);



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org