dcsimg
Data over HTTPS via Proxy.How to set up Proxy details in my application??
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ajay_luthria
Posted On:   Wednesday, February 27, 2002 01:27 AM

I am transferring data over https to a receiving servlet via a Proxy. How do I specify the username and password for the Proxy in my application ,if the proxy server supports this. I have configured my application to send it over a Proxy with: https.proxyHost = https.proxyPort = 0000 or System.setProperty("https.proxyHost","Proxy Host"); System.setProperty("https.proxyPort","8080"); How can I set the Property for Username and Password if the Proxy suports username and password? Please does any one know this? ajay    More>>

I am transferring data over https to a receiving servlet via a Proxy.



How do I specify the username and password for the Proxy in my
application ,if the proxy server supports this.





I have configured my application to send it over a Proxy with:


https.proxyHost =

https.proxyPort = 0000



or



System.setProperty("https.proxyHost","Proxy Host");

System.setProperty("https.proxyPort","8080");



How can I set the Property for Username and Password if the Proxy suports username and password?


Please does any one know this?


ajay


ajayluthria@hotmail.com

..

   <<Less

Re: Data over HTTPS via Proxy.How to set up Proxy details in my application??

Posted By:   Heinrich_Soebke  
Posted On:   Wednesday, March 6, 2002 08:48 AM

http://www.javaworld.com/javaworld/javatips/jw-javatip42.html

Re: Data over HTTPS via Proxy.How to set up Proxy details in my application??

Posted By:   Heinrich_Soebke  
Posted On:   Thursday, February 28, 2002 04:07 AM

Hi Ajay,


maybe you have to set up the Authorization header programmatically:

URLConnection.setRequestProperty ( "Authorization", AuthorizationBasic-String) );


Bye

Heinrich
About | Sitemap | Contact