aspose file tools*
The moose likes JNLP and Web Start and the fly likes Embed Username and Password into .JNLP file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Embed Username and Password into .JNLP file" Watch "Embed Username and Password into .JNLP file" New topic
Author

Embed Username and Password into .JNLP file

Dan Gates
Greenhorn

Joined: Oct 14, 2010
Posts: 2
I have no java experience so please excuse my idiocy.
At my university to log into the wireless network we have to open a .jnlp file which then demands a username and password everytime...
I was wondering if anyone could shed some light onto whether it is possible for me to automate this process by somehow embedding my username and password into the file on my laptop??

Thanks in advance,

Dan Gates
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18155
    
    8

You don't control the JNLP file -- it comes from the server where the network managers control it -- so no.

If you could track down the copy in the Java cache you could possibly hack that copy -- but the people who designed the JNLP file wouldn't have designed in a place to put a user ID and password, so you couldn't hack it into something which would automatically log you in. So no.
Dan Gates
Greenhorn

Joined: Oct 14, 2010
Posts: 2
I have a copy of the .jnlp file, and can view it in text editor.
Could i not copy the file and add some code, whatever language it is to store my username / password locally in that file.
Thanks,
Dan Gates
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Embed Username and Password into .JNLP file
 
Similar Threads
Jnlp in a J2ee application
Authenticate access to Jars before download
Jar working jnlp not working
How to write a JNLP Dermo?
passing parameter from html page to an application