I found that I was able to make a HTTP connection with the following lines of codes added:
URLConnection connection = source.openConnection(); String credential = proxyUserName + ":" + proxyPassword; String encoded = new BASE64Encoder().encode(credential.getBytes()); connection.setRequestProperty("Proxy-Authorization", "Basic " + encoded); connection.connect(); Seems like the Authenticator is not working in my case. Anyone has any comment on this? Regards, Eng Hoe App Dev-DCS SGX-IT Division DID: (65) 62368963 FAX: (65) 64388840 email: [EMAIL PROTECTED] Confidentiality Caution ======================= Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Opinions, conclusions and other information in this message that is not of an official nature shall be deemed as neither given nor endorsed by SGX unless indicated by an authorised representative independent of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]