Java Web Start 身份验证选项 [英] Java Web Start Authentication Option

查看:50
本文介绍了Java Web Start 身份验证选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,在您认为这是一个简单的请求并且它必须存在之前;我已经完成了大约 2-3 个小时的搜索,但没有结果.有没有办法通过 Java Web Start (javaws) 传递身份验证信息来访问受密码保护的网站?

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?

基本上我正在努力的是自动重启 javaws 应用程序,而不必重新实现 javaws 所做的将 jar 拉下来,然后必须在下载的应用程序上运行 Java.我一直在努力寻找这方面的信息,但没有人愿意做我正在做的同样的事情(主要是因为如果你有身份验证,那么你会希望有人进行身份验证).

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).

身份验证方法是基本的,我尝试将用户名/密码嵌入 URL 中,但无济于事.有什么想法吗?

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

推荐答案

[aol]我也是.我发现这个线程是我搜索相同内容的一部分.[/aol]

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

我发现的最接近的是 这个 JNLP 的维基页面开始交易申请.摘录:

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

对于我尝试使用的应用程序(Supermicro 主板上的 ATEN KVM-over-IP),我仍然收到 Java 生成的错误,但我在 JNLP 中看到一些特定于会话的垃圾,这些垃圾随每个请求而变化.

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.

这篇关于Java Web Start 身份验证选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆