开发者

How to validate different XML Signatures with Apache CXF?

开发者 https://www.devze.com 2022-12-23 17:21 出处:网络
In our SOA we will have to sign a request (parts of the SOAP header) twice: 1. the client signs the SOAP body

In our SOA we will have to sign a request (parts of the SOAP header) twice: 1. the client signs the SOAP body 2. the ESB signs a part of the SOAP header, so that the service can verify, that the request was routed over the ESB

I'm currently trying to implement/configure this using Apache CXF 2.2. Its working on the client side as well as on the ESB. But I'm not able to configure CXF on the server side to allow two different signatures. I'm trying to configure two WSS4JInInterceptor-beans, but the first one reports the error: "WSSecurityException: An error was discoveredprocessing the header"

I'm already using the "signatureParts" in the WSS4JInInterceptor properti开发者_StackOverflow社区es configuration.

Does anybody know, how to configure the WSS4JInInterceptor to allow different/multiple XML Signatures?

Many thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消