applet URL through proxy with authentication
805747Nov 1 2010 — edited Nov 3 2010Hello,
I have an applet that needs to communicate with a servlet behind a proxy with authentication.
When using the java.net.URL isn't necessary for me to specify proxy username and password (nor hostname and proxy) since they are somehow available from the plugin.
I am able to perform succesfull servlet communication . How can i retrieve on servlet side the proxy username and password (which have been inputted by the user in the popup window) ? I need to get access to the suer and password in order to give them back to the applet so i can use them for HttpClient connection to server's resources.
I was trying on servlet to get request.getRequestURL() but unfortunatelly it contains no username:password.
Thank you,
ionut