安全 Java SOAP Web 服务 - Active Directory 身份验证 Trust

发布于 2024-07-10 14:36:12 字数 150 浏览 4 评论 0 原文

我想在 Java 生产者和 Java 消费者之间构建一个安全的 Web 服务。 我想使用生产者和消费者所运行的域帐户使用 Active Directory 进行身份验证。

你能给我举个例子吗?

(即:AD 信任的手动密钥库的自动化替代方案。)

I want to build a secure web-service betweeen a Java producer and a Java consumer. I want to authenticate using Active Directory using the domain accounts that the producer and consumer are running under.

Could you give me an example of this?

(ie: AD trusted automated alternative to manual keystores.)

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

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

发布评论

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

评论(2

ㄟ。诗瑗 2024-07-17 14:36:12

这是一个开源库,http://spnego.sourceforge.net/protected_soap_service.html,其中有一个确切说明您想要做什么的示例。

这个开源项目有一个关于如何通过 servlet 过滤器要求身份验证(基本身份验证或 Kerberos/集成 Windows 身份验证)的示例。

该项目还有一个示例,介绍如何创建需要连接到受保护的肥皂服务的肥皂客户端。

Here's an open source library, http://spnego.sourceforge.net/protected_soap_service.html, that has an example of exactly what you are looking to do.

This open source project has an example on how to require authentication (basic auth or Kerberos/Integrated Windows Authentication) via servlet filter.

The project also has an example on how to create a soap client that needs to connect to a protected soap service.

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