soapUI:如何将缩略图作为SecurityTokenReference添加到wss SIGNATURE条目 [英] soapUI: how to add Thumbprint as SecurityTokenReference to wss SIGNATURE entry
问题描述
我对soapUI有疑问:
我试图将ws-security标头添加到包含签名的soap-requests中.为此,我在项目首选项中使用了soapUI对话框"WS-Security Configurations".它可以按预期工作,但是我的服务器应用程序需要一个Thumbprint-SHA1-Id作为KeyInfo//SecurityTokenReference元素.
我发现soapUI在WSS条目加密"中提供了此选项,但没有为签名"提供此选项.所以我的问题是:如何为签名元素使用密钥标识符类型"Thumbprint SHA1标识符"?
我考虑过通过一个Groovy脚本替换soapUI创建的密钥标识符.但是该脚本必须在创建安全标头之后以及发送肥皂请求之前执行,但我不确定如何实现.
预先感谢!
I have a question regarding soapUI:
I'm trying to add a ws-security header to my soap-requests containing a signature. To do that I used the soapUI-dialog "WS-Security Configurations" in the project preferences. It works as expected, but my server application requires a Thumbprint-SHA1-Id as the KeyInfo//SecurityTokenReference Element.
I found out that soapUI provides this option in the WSS Entry "Encryption" but not for "Signature". So my question is: How can I use the Key Identifier Type "Thumbprint SHA1 Identifier" for the Signature Element?
I thought about replacing the key identifier created by soapUI via a groovy script. But this script would have to be executed after the creation of the security header and before the sending of the soap-request, and I'm not sure, how to achieve that.
Thanks in advance!
推荐答案
密钥标识符类型将于明天(2014-04-09)发布的SoapUI 5.0.0中添加了用于签名的缩略图SHA1标识符".它也包含在4.6.4的维护版本中,可以从 http:下载://www.soapui.org/Downloads/soapui-nightly-builds.html .
Key Identifier Type "Thumbprint SHA1 Identifier" for the Signature is added in SoapUI 5.0.0 that is release tomorrow (2014-04-09). It is also included in a maintenance release of 4.6.4 that can be downloaded at http://www.soapui.org/Downloads/soapui-nightly-builds.html.
这篇关于soapUI:如何将缩略图作为SecurityTokenReference添加到wss SIGNATURE条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!