Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Proxy authentication In tomcat

  Asked By: Thelma    Date: Dec 14    Category: Java    Views: 1394

I have a tomcat running on my PC. And my PC is behind a proxy server (as requirment of the coorporate). I have host an application in tomcat. But when a part of the application want to make a HTTP request outside our network over internet, it ask for proxy AUthentication and its credentials. IS it possible to configure tomcat some how, so that it can pass the proxy authentication credentials to the proxy ???? Please give me some idea.

I cant supply the credentials from inside my Java code because i am using a third party business Object and i dont have any privilege to modify those codes ..



1 Answer Found

Answer #1    Answered By: Yvette Griffin     Answered On: Dec 14

Proxy authentication  pretty much depends on the type of your proxy. In
http proxies usually the format http://user:pass@proxy works. Another
solution is to use a third proxy  server between tomcat  and the main
proxy, which will do the authentication instead of your app (look for
NTLMaps proxy for instance)

Didn't find what you were looking for? Find more on Proxy authentication In tomcat Or get search suggestion and latest updates.