Hi karypid,

I'm facing the same issue at the moment, did you manage to come up with a
patch?

Best regards,
versus


karypid wrote:
> 
> Ok, thank. I will look at it over the weekend and try to submit a 
> test-case/patch.
> 
> Daniel Kulp wrote:
>> Hmm.....
>>
>> The only thing I can think of is to subclass the WSS4JOutInterceptor to 
>> override a method or two to turn off the ENCRYPTION_PARTS thing if the
>> body 
>> contains one of the RM messages.   
>>
>> You can probably override the the "getString(String key, Object mc)" call
>> to 
>> do something like:
>>
>> if (key.equals(WSHandlerConstants.ENCRYPTION_PARTS)) {
>>     SoapMessage m = (SoapMessage)mc;
>>     SOAPMessage doc = msg.getContent(SOAPMessage.class);
>>     SOAPBody body = doc.getSOAPBody();
>>     //check the content of body and return null if RM.....
>> }
>> return super.getString(key, mc);
>>
>>
>> Dan
>>
>>
>>
>>
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/WS-Security-_DEMANDS_-%22target-part%22-be-present%2C-breaking-WS-RM-%28Bug-%29-tp26746724p28381155.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to