Hi,

I am running shindig in tomcat. That works fine, except when I want to run it 
in an environment where I am behind a firewall.
I have checked the mails about building behind a proxy. But that doesn't help, 
since I don't use jetty to start the server.

In my SNS I have some code to read the module prefs for storing the data about 
applications. There I passed the firewall with this code:

private void setProxy(URLConnection connection) {
    System.getProperties().put("http.proxySet", "true");
    System.getProperties().put("http.proxyHost", "myproxy.com");
    System.getProperties().put("http.proxyPort", "3333");

    BASE64Encoder encoder = new BASE64Encoder();
    String encodedUserPwd = encoder.encode("userid:pwd".getBytes());
    connection.setRequestProperty("Proxy-Authorization", "Basic " + 
encodedUserPwd);
}

Can anybody tell me what to do in Shindig?

Thanks
Harry


Zerreißen Sie die Netze der Phisher, Hacker und Betrüger!
Ihre Internet-Sicherheits-Seiten auf Arcor.de bieten alle Infos und 
Hilfsmittel, die Sie zum sicheren Surfen brauchen! Play it safe!
http://www.arcor.de/footer-sicherheit/

Reply via email to