需要使用双向 SSL 安全 Web 服务的 Java 客户端 Destop 应用程序示例

发布于 2024-08-24 20:50:36 字数 94 浏览 3 评论 0原文

我正在寻找一个使用双向 SSL 安全 Web 服务的 java 桌面应用程序的示例。任何教程或示例都很棒,特别是如果它们基于 Eclipse IDE。

谢谢。

I'm looking for an example of a java desktop application that consumes a Two-way SSL secured web service. Any tutorials or examples would be great, especially if they are based on the Eclipse IDE.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

白色秋天 2024-08-31 20:50:36

首先,如果您不熟悉 SSL、(自签名)证书、密钥工具、密钥存储、信任存储,总之 PKI,我建议从 相互身份验证十五分钟指南Java 安全 HTTP 客户端密钥管理。这些资源非常棒,应该可以帮助您入门并了解您在服务器端和客户端需要什么(以及原因)。

然后,我建议检查 Web 服务相互身份验证:实时示例

对于 JBoss 特定设置,请查看 JBoss wiki 的 SSLSetup 页面(更准确地说是身份验证场景#4)。

First, if you're not familiar with SSL, (self-signed) certificates, keytool, key store, trust store, in one word PKI, I'd suggest to start with The Fifteen Minute Guide to Mutual Authentication and Java Secure HTTP Client Key Management. These resources are just awesome and should help you to get started and to understand what you'll need on the server side and the client side (and why).

Then, I suggest to check Mutual Authentication for Web Services: A Live Example.

And for the JBoss specific setup, check out the SSLSetup page of the JBoss wiki (more precisely the Authentication scenario #4).

少女的英雄梦 2024-08-31 20:50:36

我不确定您在寻找什么,是通过 SSL 与 Web 服务提供商进行通信的实际应用程序吗?那么 SOAPui 正是您的拿手好戏 - 只不过它是一个通用的 Web 服务测试器,而不是某些特定于域的应用程序。

尽管有 SOAPui Eclipse 插件,但它不是基于 Eclipse 的。

I'm not sure what you're looking for, an actual applications that communicates via SSL to a web service provider? SOAPui is right up your alley then - except it's a general-purpose web-service tester and not some domain-specific application.

And it's not eclipse based, although there is a SOAPui Eclipse plugin.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文