Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 91713 invoked from network); 10 Nov 2008 13:59:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2008 13:59:05 -0000 Received: (qmail 44887 invoked by uid 500); 10 Nov 2008 13:59:12 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 44871 invoked by uid 500); 10 Nov 2008 13:59:12 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 44860 invoked by uid 99); 10 Nov 2008 13:59:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 05:59:12 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 13:58:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7041B234C28D for ; Mon, 10 Nov 2008 05:58:44 -0800 (PST) Message-ID: <1513515902.1226325524458.JavaMail.jira@brutus> Date: Mon, 10 Nov 2008 05:58:44 -0800 (PST) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-1904) CLONE -MTOM does not work when add WSS4J interceptors(UsernameToken and Timestamp) In-Reply-To: <900525976.1226314124633.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-1904. ------------------------------ Resolution: Won't Fix Fix Version/s: (was: 2.0.8) (was: 2.1.2) Invalid This is as designed, but it's controllable. For security reasons, WSS4JOutInterceptor turns off the MTOM support so that any data will get properly encrypted. WSS4J doesn't encrypt or sign attachments, thus, we turn off mtom so it gets inlined and thus properly signed/encrypted. However, with 2.1.3 you can turn off that behavoir. The WSS4JOutInterceptor has a setAllowMTOM(boolean) method that you can call to re-enable mtom. > CLONE -MTOM does not work when add WSS4J interceptors(UsernameToken and Timestamp) > ---------------------------------------------------------------------------------- > > Key: CXF-1904 > URL: https://issues.apache.org/jira/browse/CXF-1904 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 2.1 > Environment: Windows Xp, > JDK 1.5 update 11 > apache CXF 2.1 release > Reporter: naveen kumar > Assignee: Daniel Kulp > Fix For: Invalid > > Original Estimate: 72h > Remaining Estimate: 72h > > I have wriitten an Apache CXF client with the following specification, > 1. MTOM attachment enabled(implemented by refering http://cwiki.apache.org/CXF20DOC/mtom.html link). > 2. WS-Secuirty features namely, UsernameToken and Timestamp (implemented by refering http://cwiki.apache.org/CXF20DOC/ws-security.html link) > As per my observation, i see that the MTOM attachment gets inlined in the soap body of request, when i enable either of WS-Security features(UsernameToken or Timestamp).But when i disable WSS4J interceptors i see that client sends the data as MTOM attachment. > I suspect WSS4J interceptor is causing the problem.Kindly help me in this regard. > Note: I added WSS4J interceptors programmatically. > Thanks in advance, > Navin Bhat > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.