[jboss-svn-commits] JBL Code SVN: r24456 - labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/soa/esb/listeners.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Dec 21 05:26:47 EST 2008
Author: mark.little at jboss.com
Date: 2008-12-21 05:26:46 -0500 (Sun, 21 Dec 2008)
New Revision: 24456
Modified:
labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
Log:
https://jira.jboss.org/jira/browse/JBESB-2173
Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-12-21 09:26:14 UTC (rev 24455)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-12-21 10:26:46 UTC (rev 24456)
@@ -229,8 +229,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