Hi All, I'm trying to write a java program using java.net apis that will act as HttpClient. But the problem with program is that it has to go thru the proxy. Earlier I have written some program that was doing same kind of thing and in that I'm using Authenticator.setDefault to set an object of custom authenticator object and when ever proxy authentication will be required , this object will provide the authentication. And that has worked with some proxy. Now I'm trying to do same thing with some other proxy and found that it's not calling authenticator's method at all. If I provide the authentication thru URLConnection.setRequestProperty( "Proxy-Authorization","Basic "+ encoded), then it works fine with the present proxy.
Can anyone pls give me some hint of the behavior of the code on different proxies ? Is there some kind of proxy dependencies affecting the code ? Any suggestion is welcome. Thanks and Regards, Sudarson ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html