Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Java Plug-in: Proxy authentication with username and password

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to load an html page that contains an applet, but an Exception is thrown when the page loads. Basically the message says that the URL connection returned error code 407, so I assume that the java plug-in (I'm using ver 1.4) cannot authenticate to the proxy to fetch the jar.
My proxy requires username and password authentication, so when I open a browser (Internet Explorer), a window pops up and requests that info. I have configured the plug-in to use the browser's proxy settings, but the plug-in's authentication window doesn't pop up when connecting (is there one ). So I have no way of providing the Username and Password to the proxy. I have also tried providing the proxy's host name and port manually (in the plug-in's settings window), but the authenticaton window still doesn't pop up.
Does anybody know how can I provide the username and password programatically, or by setting a system property, or by starting the plug-in with a certain parameter, or by any other means?
Thanks guys
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See my new topic about problems with applets in
1.3 and 1.4 version.
If you have installed 1.4 1.3 applets will not work any more (at least this is my experience) and because 1.4 is a download of 11MB I will not use 1.4 until 1.3 is really outdated.
I would like to know the reason of SUN why this was introduced.
    Bookmark Topic Watch Topic
  • New Topic