aspose file tools*
The moose likes Applets and the fly likes Can I make the AppletViewer login to my web server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Can I make the AppletViewer login to my web server?" Watch "Can I make the AppletViewer login to my web server?" New topic
Author

Can I make the AppletViewer login to my web server?

Pat O'Hara
Greenhorn

Joined: Nov 02, 2011
Posts: 7
Since I did not get an answer to this question:
http://www.coderanch.com/t/559543/Applets/java/do-control-Java-Login-prompt

I am now wondering if I can by pass the browser altogether. I would like to use the AppletViewer to "run" the applet. I see that the AppletViewer can take a URL, but the HTTP server on our hardware is expecting basic authentication. As I understand this if I make a request to http://deviceName/index.html I will get a 401 response. If I am in a browser, it will then open a dialog for me to type my username and password into. I am open to either the appletviewer opening a similar dialog, or to putting the user name and password into a file (policy file?) so that the user will simply connect to the HTTP server, download the applet and have it run.

Is this possible? Are there "java options" that I can pass to do this? There does not seem to be anything about this in the AppletViewer documentation.

Pat O
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I make the AppletViewer login to my web server?
 
Similar Threads
Able to run applet from a applet viewer but not from a browser.
Applet not running
j_security_check - How to pass parameters in the URL
j_security_check - How to pass parameters in the URL
help plz, some beginner questions ...