[
https://issues.apache.org/jira/browse/CAMEL-8162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874525#comment-15874525
]
ASF GitHub Bot commented on CAMEL-8162:
---------------------------------------
GitHub user onders86 opened a pull request:
https://github.com/apache/camel/pull/1478
CAMEL-8162 - UTs to invalidate the issue
I used test server implementation as
https://github.com/lukas-krecan/spring-ws-security-samples/tree/master/simple-server-test
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/onders86/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1478.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1478
----
commit 86cafbe067ff96889b77e7d13e9590d722efab9c
Author: onders86 <[email protected]>
Date: 2017-02-20T11:21:15Z
test certificates created with the help of keytool
commit 35994f5bb6c6e7c7fb155faf359403eb1f1e2792
Author: onders86 <[email protected]>
Date: 2017-02-20T12:28:45Z
CAMEL-8162- UT to invalidate the issue.
commit dbd916cfd23b62fab88d81d4f604969595f4f7bd
Author: onders86 <[email protected]>
Date: 2017-02-20T13:19:07Z
CAMEL-8162 - UTs to invalidate the issue with cs fixes
commit 183cdf9d96e12d6971109924a9b9021cd9a62fb3
Author: onders86 <[email protected]>
Date: 2017-02-20T13:24:46Z
CAMEL-8162 - UTs to invalidate the issue with cs fixes
----
> camel-spring-ws removes WSHandlerResult.
> ----------------------------------------
>
> Key: CAMEL-8162
> URL: https://issues.apache.org/jira/browse/CAMEL-8162
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring-ws
> Affects Versions: 2.14.0
> Reporter: Jimmy Selgen Nielsen
> Assignee: onder sezgin
> Priority: Minor
> Fix For: Future
>
>
> When using camel-spring-ws with WS-Security and Wss4jSecurityInterceptor,
> camel-spring-ws removes the list of WSHandlerResult when it creates the
> exchange from the messageContext.
> I'm trying to extract an X.509 certificate from the Soap header.
> Wss4jSecurityInterceptor removes the Security header when it successfully
> validates a message, and stores the information within the MessageContext in
> a List<WSHandlerResult>.
> I currently get around this by overriding Wss4jSecurityInterceptor so that it
> no longer deletes the Security header, but the information is essentially
> lost when Camel takes over, and it should be corrected.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)