I must refactor an application which uses http client to look for updates on the internet. Problem is, some users don't access the internet directly but through a http proxy e.g. proxserver.com:8118.
I have a windows box with normal internet access. I thought ok, just use Zone Alarm to deny the java.exe access to the internet while allowing access to the safe zone. Then use Privoxy (http://www.privoxy.org/) as Http Proxy. Privoxy has the right to use the internet. The dumb thing is though the http client uses Privoxy it is denied access to the internet for some stupid reason in the ZoneAlarm Software.
Does anyone have an idea (another free firewall) how to simulate the situation that the Java Runtime has only internet access through the proxy?