how to use https protocol in Eclipse (IBM WebSphere StudioWorkbench) plug-in [message #49269] |
Mon, 17 March 2003 02:16 |
Eclipse User |
|
|
|
Originally posted by: gdlxn.us.ibm.com
I'm new to the eclipse.technology newsgroup, so if there's a better place to
ask my question, please let me know.
I'm trying to use the https protocol in an Eclipse (IBM WebSphere Studio
Workbench) plug-in. The following code works fine in a standalone Java
application, but throws a "java.net.MalformedURLException: unknown protocol:
https" from the "new URL(https://dummy/dummy.html);" line when used in an
Eclipse plug-in:
System.setProperty(
"java.protocol.handler.pkgs",
"com.ibm.net.ssl.internal.www.protocol");
Security.addProvider(new com.ibm.jsse.IBMJSSEProvider());
URL url =
new URL(https://dummy/dummy.html);
I have included ibmjsse.jar with my plug-in and included it as a runtime
library in my plugin.xml. Can someone tell me what I need to do in order to
use the https protocol in an Eclipse plug-in? I'm running IBM WebSphere
Studio Workbench 2.0.2 on Windows 2000 SP 2.
Thanks,
Geoff Alexander
|
|
|
Powered by
FUDForum. Page generated in 0.02420 seconds