简体   繁体   English

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

[英]Need example of Java Client Destop App consuming Two-way SSL Secured webservice

I'm looking for an example of a java desktop application that consumes a Two-way SSL secured web service. 我正在寻找一个使用双向SSL安全Web服务的Java桌面应用程序的示例。 Any tutorials or examples would be great, especially if they are based on the Eclipse IDE. 任何教程或示例都会很棒,特别是如果它们基于Eclipse IDE。

Thanks. 谢谢。

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 . 首先,如果你不熟悉SSL,(自签名)证书,keytool,密钥库,信任存储,用一个词PKI,我建议从相互认证的十五分钟指南Java安全HTTP客户端开始密钥管理 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 . 然后,我建议检查Web服务的相互身份验证:实例

And for the JBoss specific setup, check out the SSLSetup page of the JBoss wiki (more precisely the Authentication scenario #4). 对于JBoss特定的设置,请查看JBoss wiki的SSLSetup页面(更确切地说是身份验证方案#4)。

I'm not sure what you're looking for, an actual applications that communicates via SSL to a web service provider? 我不确定你在寻找什么,一个通过SSL与网络服务提供商进行通信的实际应用程序? SOAPui is right up your alley then - except it's a general-purpose web-service tester and not some domain-specific application. 然后,SOAPui就在你的小巷里 - 除了它是一个通用的Web服务测试人员,而不是一些特定于域的应用程序。

And it's not eclipse based, although there is a SOAPui Eclipse plugin. 虽然有一个SOAPui Eclipse插件,但它不是基于eclipse的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM