Your code below seems designed to allow Shindig to make HTTP requests through a secured proxy, is this the issue or are you trying to access Shindig itself and being prevented by a firewall?
On Fri, Mar 27, 2009 at 5:17 AM, <ha.hueb...@nexgo.de> wrote: > 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/ >