Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I make the AppletViewer login to my web server?

 
Pat O'Hara
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic