[jboss-svn-commits] JBL Code SVN: r24455 - labs/jbossesb/trunk/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 04:26:15 EST 2008
Author: mark.little at jboss.com
Date: 2008-12-21 04:26:14 -0500 (Sun, 21 Dec 2008)
New Revision: 24455
Modified:
labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
Log:
https://jira.jboss.org/jira/browse/JBESB-2173
Modified: labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
===================================================================
--- labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-12-21 08:38:11 UTC (rev 24454)
+++ labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-12-21 09:26:14 UTC (rev 24455)
@@ -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