I have a web site running on IIS 7.5 with integrated Windows authentication. In /Content folder (with anonymous access) there is an applet – MyApplet.jar. When using this applet, Java shows “Authentication required” popup (and this popup does not remember my password even if I check “remember” check-box).
Is there any way to remove this window?
This is Java console before loading applet:
network: Cache entry not found [url: http://192.168.10.136/Web/Examination.mvc/Details/PatientEHR/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration, version: null]
network: Connecting http://192.168.10.136/Web/Examination.mvc/Details/PatientEHR/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration with proxy=DIRECT
network: Connecting http://192.168.10.136:80/ with proxy=DIRECT
network: Connecting http://192.168.10.136/Web/Examination.mvc/Details/PatientEHR/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration with cookie "JCP-store=HDImageStore; JCP-key=Inf_WOPass"
network: Firewall authentication: site=/192.168.10.136:80, protocol=http, prompt=, scheme=ntlm
I looks like your Applet is doing some XML parsing.
If so, what is happening is that Java is looking for a XML parser (with getClass().getResource(…)) and as the path of your applet, it will perform a HTTP request to your server.
To prevent it you may want to define the XML parser in the init method of your applet with
Since Java6u10 you also have the option to remove the path of your Applet from the classpath (but not the Applet) with
Anthony