Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2010-11-17 14:58:40 -0500
committerChris Goldthorpe2010-11-17 14:58:40 -0500
commit8504e97f83507ed32e018657b365589017c86428 (patch)
tree9d1869e1355470a28cc6ff12900008faa375e6b5
parentfb781ca338ac22ce406f0a393e32e7b25496a2b2 (diff)
downloadeclipse.platform.ua-8504e97f83507ed32e018657b365589017c86428.tar.gz
eclipse.platform.ua-8504e97f83507ed32e018657b365589017c86428.tar.xz
eclipse.platform.ua-8504e97f83507ed32e018657b365589017c86428.zip
Bug 329280 - [Help] Remote Help HTTPS support is setting java.protocol.handler.pkgs=javax.net.ssl
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/base/remote/HttpsUtility.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/base/remote/HttpsUtility.java b/org.eclipse.help.base/src/org/eclipse/help/internal/base/remote/HttpsUtility.java
index d8f457171..e07bc3cec 100644
--- a/org.eclipse.help.base/src/org/eclipse/help/internal/base/remote/HttpsUtility.java
+++ b/org.eclipse.help.base/src/org/eclipse/help/internal/base/remote/HttpsUtility.java
@@ -37,8 +37,6 @@ public class HttpsUtility {
InputStream in =null;
try
{
- System.setProperty( "java.protocol.handler.pkgs" , "javax.net.ssl" ); //$NON-NLS-1$ //$NON-NLS-2$
- // java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
TrustManager[] trustAllCerts = new TrustManager[] {
new X509TrustManager(){
public java.security.cert.X509Certificate[] getAcceptedIssuers(){
@@ -68,8 +66,6 @@ public class HttpsUtility {
InputStream in = null;
try
{
- System.setProperty( "java.protocol.handler.pkgs" , "javax.net.ssl" ); //$NON-NLS-1$ //$NON-NLS-2$
- // java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
TrustManager[] trustAllCerts = new TrustManager[] {
new X509TrustManager(){
public java.security.cert.X509Certificate[] getAcceptedIssuers(){
@@ -101,8 +97,6 @@ public class HttpsUtility {
URL url=null;
try
{
- System.setProperty( "java.protocol.handler.pkgs" , "javax.net.ssl" ); //$NON-NLS-1$ //$NON-NLS-2$
- // java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
TrustManager[] trustAllCerts = new TrustManager[] {
new X509TrustManager(){
public java.security.cert.X509Certificate[] getAcceptedIssuers(){
@@ -131,8 +125,6 @@ public class HttpsUtility {
URL url=null;
try
{
- System.setProperty( "java.protocol.handler.pkgs" , "javax.net.ssl" ); //$NON-NLS-1$ //$NON-NLS-2$
- // java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
TrustManager[] trustAllCerts = new TrustManager[] {
new X509TrustManager(){
public java.security.cert.X509Certificate[] getAcceptedIssuers(){
@@ -161,8 +153,6 @@ public class HttpsUtility {
URL url=null;
try
{
- System.setProperty( "java.protocol.handler.pkgs" , "javax.net.ssl" ); //$NON-NLS-1$ //$NON-NLS-2$
- // java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
TrustManager[] trustAllCerts = new TrustManager[] {
new X509TrustManager(){
public java.security.cert.X509Certificate[] getAcceptedIssuers(){
@@ -191,8 +181,6 @@ public class HttpsUtility {
boolean validConnection=true;
try
{
- System.setProperty( "java.protocol.handler.pkgs" , "javax.net.ssl" ); //$NON-NLS-1$ //$NON-NLS-2$
- // java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
TrustManager[] trustAllCerts = new TrustManager[] {
new X509TrustManager(){
public java.security.cert.X509Certificate[] getAcceptedIssuers(){

Back to the top