Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » how to use https protocol in Eclipse (IBM WebSphere StudioWorkbench) plug-in
how to use https protocol in Eclipse (IBM WebSphere StudioWorkbench) plug-in [message #49269] Mon, 17 March 2003 02:16
Eclipse UserFriend
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
Previous Topic:eclipse and win64?
Next Topic:how to use https protocol in Eclipse (IBM WebSphere StudioWorkbench) plug-in
Goto Forum:
  


Current Time: Fri Apr 26 11:02:43 GMT 2024

Powered by FUDForum. Page generated in 0.03284 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top