On 20/11/2009 15:57, André Warnier wrote:
Pid wrote:

http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html

That, however, does not seem to handle the case where the proxy requires
an authentication (the type of which was unfortunately not indicated by
the OP).
Any generic tips in that direction ?

You'd probably have to code for that when you make the (a?) URLConnection. Rather depends on how the OP's apps are making the outbound connection.

 String credential = username + ":" + password;
 String encoded = base64Encoder(credential);

 connection.setRequestProperty("Proxy-Authorization", encoded);

YMMV


p

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to