aspose file tools*
The moose likes Applets and the fly likes How do I control the Java Login prompt for my Applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "How do I control the Java Login prompt for my Applet?" Watch "How do I control the Java Login prompt for my Applet?" New topic
Author

How do I control the Java Login prompt for my Applet?

Pat O'Hara
Greenhorn

Joined: Nov 02, 2011
Posts: 7
Hello,
I am updating an applet that acts as a front end to one of our hardware products. We use basic HTTP authentication to gain access to the device and therefore the applet. The old user experience was that the browser would prompt the user for their username and password and the applet would get the username from the hardware. The code still works, but both the browser and Java (the plugin?) are prompting the user for a username and password. I would rather that the user be prompted only once. Can you point me to the documentation on the plugin that explains how to control this? Is it something other than the plugin that is causing Java to prompt the user? Is there something about our HTTP Server implementation that needs to be adjusted?
 
Consider Paul's rocket mass heater.
 
subject: How do I control the Java Login prompt for my Applet?
 
Similar Threads
wildcard for tomcat-users.xml users
Authenticating LDAP users without their input - doable?
Can I make the AppletViewer login to my web server?
Can I use javascript to pass credentials to the new java plugin?
Unable to open Applet in Firefox/Mozilla