[jboss-svn-commits] JBL Code SVN: r24466 - labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Dec 22 02:54:10 EST 2008
Author: mark.little at jboss.com
Date: 2008-12-22 02:54:09 -0500 (Mon, 22 Dec 2008)
New Revision: 24466
Modified:
labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
Log:
https://jira.jboss.org/jira/browse/JBESB-2249
Modified: labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-12-22 07:16:05 UTC (rev 24465)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-12-22 07:54:09 UTC (rev 24466)
@@ -221,8 +221,12 @@
}
else
{
- final String passphrase = tree.getAttribute(SFTPEpr.PASSPHRASE_TAG) ;
- epr = new SFTPEpr(uri,new URI(cert), passphrase);
+ final String passphrase = tree.getAttribute(SFTPEpr.PASSPHRASE_TAG, null) ;
+
+ if (passphrase != null)
+ epr = new SFTPEpr(uri, new URI(cert), passphrase);
+ else
+ epr = new SFTPEpr(uri, new URI(cert));
}
}
else
More information about the jboss-svn-commits
mailing list