The team I am on, is working to get shindig working from behind our firewall 
with Tomcat also.  If we figure out the proxy problem before you, I'll let you 
know the answer.

-----Original Message-----
From: Harry Hübner [mailto:[email protected]] 
Sent: Tuesday, March 31, 2009 12:22 AM
To: [email protected]
Subject: Re: running shindig behind a firewall

Hi,

the issue is that Shindig runs on a computer, that sits behind a  
secured proxy. For accessing information outside (i.e. the internet)  
I have to pass this proxy.


Thanks
Harry

Am 30.03.2009 um 17:35 schrieb Louis Ryan:

> 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, <[email protected]> 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/
>>

Reply via email to