Project

General

Profile

« Previous | Next » 

Revision 45348

migrated to dnet45

View differences:

DownloadServiceImpl.java
19 19
import eu.dnetlib.enabling.tools.blackboard.NotificationHandler;
20 20
import org.apache.commons.logging.Log;
21 21
import org.apache.commons.logging.LogFactory;
22
import org.bouncycastle.jce.provider.BouncyCastleProvider;
23 22
import org.springframework.beans.factory.annotation.Required;
24 23
import org.springframework.beans.factory.annotation.Value;
25 24

  
......
102 101
				}
103 102
			}).start();
104 103
		}
105
		Security.insertProviderAt(new BouncyCastleProvider(),1);
106
		System.setProperty("https.protocols", httpsProtocols);
104
		//Security.insertProviderAt(new BouncyCastleProvider(),1);
105
		//System.setProperty("https.protocols", httpsProtocols);
107 106
	}
108 107

  
109 108
	private void disableSslVerification() {

Also available in: Unified diff