生成 SAML 1.1(也可能是 2.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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为你会找到一个。 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