• Post Reply Bookmark Topic Watch Topic
  • New Topic

Authentication tries to multiple proxies.  RSS feed

Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a application in Tomcat which i have to try to authenticate to multiple proxies, depending upon the authentication response.

I have placed these proxies url's in a properties file. I read it to grab a proxy and authenticate using java's Authenticator class.It works right now, with a single proxy, but the environment where i have to host the application gives a choices of multiple proxy url's and i will have to authenticate to them and if the response is a fail then i have to try the second proxy in the list.
What can be the way to achieve this?

Anupam Bhatt
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!