soapUI: how to add Thumbprint as SecurityTokenReference to wss SIGNATURE entry

徘徊边缘 提交于 2019-12-13 14:56:31

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/22915487/soapui-how-to-add-thumbprint-as-securitytokenreference-to-wss-signature-entry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!