Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 441D89626 for ; Tue, 3 Apr 2012 08:55:12 +0000 (UTC) Received: (qmail 51499 invoked by uid 500); 3 Apr 2012 08:55:12 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 51471 invoked by uid 500); 3 Apr 2012 08:55:11 -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 51461 invoked by uid 99); 3 Apr 2012 08:55:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 08:55:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 08:55:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8273B355444 for ; Tue, 3 Apr 2012 08:54:48 +0000 (UTC) Date: Tue, 3 Apr 2012 08:54:48 +0000 (UTC) From: "Andrei Shakirin (Created) (JIRA)" To: issues@cxf.apache.org Message-ID: <1029166557.5332.1333443288561.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CXF-4223) Extend fault policy interceptors with POLICY_OVERRIDE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Extend fault policy interceptors with POLICY_OVERRIDE ----------------------------------------------------- Key: CXF-4223 URL: https://issues.apache.org/jira/browse/CXF-4223 Project: CXF Issue Type: Improvement Components: Core Reporter: Andrei Shakirin Attachments: DynamicPolicyForFaults.patch Hi, I would like to extend CXF-3996 for ClientPolicyInFaultInterceptor and ServerPolicyOutFaultInterceptor. Both interceptors will check POLICY_OVERRIDE message context property firstly and, if policy is provided, it will be used (the same way as in PolicyInInterceptor, PolicyOutInterceptor). The reason of this extension is use cases where fault interceptor chain should be also controlled dynamically using POLICY_OVERRIDE mechanism (for example in case of WS-Addressing: if it was dynamically activated in PolicyInInterceptor, PolicyOutInterceptor it must be also consequentially done in ClientPolicyInFaultInterceptor and ServerPolicyOutFaultInterceptor, otherwise faults will be processed incorrectly). It also harmonise all policy interceptors code. Patch includes: 1 extended EffectivePolicyImpl to support getting fault interceptors from PolicyInterceptorProviderRegistry 2)updated ClientPolicyInFaultInterceptor and ServerPolicyOutFaultInterceptor 3)harmonized PolicyInInterceptor, PolicyOutInterceptor 4)corresponded junit tests Regards, Andrei. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira