生成 SAML 1.1(也可能是 2.0)断言

发布于 2024-08-12 11:08:15 字数 187 浏览 3 评论 0原文

我正在寻找一种非常简单快速的方法来生成一些 SAML 断言。这仅用于测试(使用 SOAP UI)。所以我只需要一些可以生成有效断言(签名或未签名)的东西,然后我可以将其放入 SOAPUI 中并发送到我的 Web 服务。我知道如何将断言添加到 SOAP 消息以及所有其他好东西,我只需要一些有效的测试断言。

有什么想法吗?

谢谢。

I'm looking for a very easy and quick way to generate some SAML assertions. This is only going to be used for testing (using SOAP UI). So I just need something that can generate a valid assertion, signed or unsigned, that I can then drop into SOAPUI and send off to my Web Service. I know how to add the assertion to the SOAP message and all that other good stuff, I just need some valid test assertions.

Any ideas?

Thanks.

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

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

发布评论

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

评论(1

风追烟花雨 2024-08-19 11:08:15

我不认为你会找到一个。 SAML 有很多配置文件/绑定。生成满足每个依赖方要求的单一断言几乎是不可能的。

最好的选择是捕获真实的断言并将其用作模板。只需在 SOAPUI 中即时替换该字段即可。

这是 Google SSO 客户端库使用的方法(现已弃用)。您可以在此处找到示例:

http://code.google .com/p/google-apps-sso-sample/downloads/list

I don't think you will find one. SAML has so many profiles/bindings. It's almost impossible to generate a single assertion that meets requirement of every relying party.

Your best bet is to capture a real assertion and use it as a template. Just replace the field on the fly in SOAPUI.

This is the approach used by Google SSO client library (now deprecated). You can find the examples here,

http://code.google.com/p/google-apps-sso-sample/downloads/list

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