modified to comply to the new deployment scheme (moved links to https)
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/liferay62-plugins/mail-reader-lr62@130822 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
64ed2e18dd
commit
1ce0c9e5a1
|
@ -5,11 +5,11 @@ import java.io.InputStreamReader;
|
||||||
import java.net.HttpURLConnection;
|
import java.net.HttpURLConnection;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import org.gcube.portal.SSLUtilities;
|
||||||
import javax.net.ssl.HttpsURLConnection;
|
import javax.net.ssl.HttpsURLConnection;
|
||||||
|
|
||||||
public class GetCaller extends Thread {
|
public class GetCaller extends Thread {
|
||||||
private final int MINUTES_4_MILLISECONDS = 480000;
|
private final int MINUTES_4_MILLISECONDS = 180000;
|
||||||
private final static String USER_AGENT = "Mozilla/5.0";
|
private final static String USER_AGENT = "Mozilla/5.0";
|
||||||
|
|
||||||
private List<String> urlsToContact;
|
private List<String> urlsToContact;
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class ServletTrigger extends SimpleAction {
|
||||||
private static final Logger _log = LoggerFactory.getLogger(ServletTrigger.class);
|
private static final Logger _log = LoggerFactory.getLogger(ServletTrigger.class);
|
||||||
|
|
||||||
protected static final String SERVLET_CONTEXT_MAIL = "/social-mail-servlet/start-email-reader";
|
protected static final String SERVLET_CONTEXT_MAIL = "/social-mail-servlet/start-email-reader";
|
||||||
protected static final String SERVLET_URL_LDAP = "https://localhost/ldap-export-servlet/start-ldap-export";
|
protected static final String SERVLET_URL_LDAP = "http://localhost/ldap-export-servlet/start-ldap-export";
|
||||||
|
|
||||||
private final String PROTOCOL = "https://";
|
private final String PROTOCOL = "https://";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue