aspose file tools*
The moose likes Applets and the fly likes Applet Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet Authentication" Watch "Applet Authentication" New topic
Author

Applet Authentication

Sven Farrenkopf
Greenhorn

Joined: Sep 03, 2008
Posts: 22
Right now we have several applets running under XP / IE8 / Java 1.5 (we skipped 1.6 completely). We're now testing those Applets with JRE 1.7 and encounter some problems.

The applets send web-requests to the server, which worked fine with 1.5.

In 1.7 a usr/pwd-dialog appears. Entering my credentials, everything works fine too - though now the password is saved and I can't reproduce the problem.

Does anybody know where those passwords are stored? Somehow I can't find that list to remove my entry. Second, I don't know why I was asked for credentials in the first place. Where's the difference to 1.5? Did 1.5 use the IE-credentials and 1.7 doesn't?

Sven


Sven Farrenkopf
Greenhorn

Joined: Sep 03, 2008
Posts: 22
It's been a while ... and still no progress. Some applets actually work and connect without authentication, others don't.

I found some articles on this, but no real solution.

https://forums.oracle.com/forums/thread.jspa?threadID=2263798
http://tech.panorama.com/index.php/kb/19-panorama-novaview-web-access/562-java-authentication-popup

Any ideas?

Sven
Sven Farrenkopf
Greenhorn

Joined: Sep 03, 2008
Posts: 22
I made some progress ...

The auth-dialog even pops up when the applet-jar-files are loaded. They're hosted on IIS 7.

When I disable "Negotiate" (=Kerberos) as authentication-provider in IIS, everything works fine. (Yay!)

So Integrated Windows Authentication via NTLM works and the jars are loaded without any dialogs.

It just doesn't work with Negotiate/Kerberos ... does the JRE not support loading Kerberos-protected jar-files?

Or do I neet to configure the jre to use kerberos? When I enter the URL of the jar into the browser, I can download the jar without authentication.

Sven


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applet Authentication