• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Odd http proxy configuration

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to figure out how to configure the Java proxy settings to match the configuration of a proxy.pac. My business proxies 1) all http ant https traffic to servers in our domain 2) all other http traffic, but does not proxy traffic to other https servers. Configuring Java to proxy ALL http and NO https would work, but I'm running into trouble.

Our app is started via Ant, so I'm basing my configuration on this: http://ant.apache.org/manual/proxy.html


Then I have an Ant target to create a propertyset


This is then set in my java call:


This allows http URL connections to work, but not https. Https appears to be using the http.* proxy settings.

Anyone know of a way to only proxy http and not https?,

Thanks in advance
Bill S.
 
What are you doing? You are supposed to be reading this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic