Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Web Start Authentication Option

Ok, before you think that this is a simplistic request and that it must be out there; I've done about 2-3 hours of searching with no results. Is there a way to pass authentication information through Java Web Start (javaws) to access a password protected website?

Essentially what I'm working towards is an auto-restart of a javaws application without having to re-implement what javaws does to pull the jar's down and then having to run Java on the downloaded application. I've really been trying to find information on this but no one wants to do the same thing I'm doing (mainly because if you have authentication then you would want someone to authenticate).

The authentication method is basic and I've tried embedding the username/password into the URL to no avail. Any ideas?

like image 414
Suroot Avatar asked Nov 06 '22 16:11

Suroot


1 Answers

[aol]Me too. I found this thread as part of my search for the same.[/aol]

The closest that I have found is this wiki-page for a JNLP started trading application. Excerpt:

javaws -J-Djnlp.client.username=YOUR_LOGIN -J-Djnlp.client.password=YOUR_PASSWORD JNLPURL

I still receive a Java-generated error for the application that I'm attempting to use (ATEN KVM-over-IP on Supermicro motherboard), but I see some session-specific junk in the JNLP that changes with each request.

like image 198
anonymous Avatar answered Nov 15 '22 06:11

anonymous