spring-projects / spring-ws

Spring Web Services
https://spring.io/projects/spring-ws
Apache License 2.0
321 stars 311 forks source link

AbstractWsSecurityInterceptor should allow fault responses to be secured [SWS-519] #645

Open gregturn opened 15 years ago

gregturn commented 15 years ago

Paul Nyheim opened SWS-519 and commented

AbstractWsSecurityInterceptor should allow fault responses to be secured.

WCF clients seem to require that responses are secured - at least with Timestamp, so we had to subclass Wss4jSecurityInterceptor and override handleFault so that fault responses could be secured. I suggest that this is implemented in AbstractWsSecurityInterceptor in the same way that handleRequest is implemented, where a property, secureFault, will enable/disable this feature. And by setting it to false by default, backwards compatibility is ensured.

I'll upload a patch for this shortly.


Affects: 1.5.7

Attachments:

1 votes, 1 watchers

gregturn commented 15 years ago

Paul Nyheim commented

patch of improvement - made against v1.5.7