Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D41A69D07 for ; Fri, 27 Jan 2012 16:39:13 +0000 (UTC) Received: (qmail 10937 invoked by uid 500); 27 Jan 2012 16:39:13 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 10823 invoked by uid 500); 27 Jan 2012 16:39:12 -0000 Mailing-List: contact dev-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 dev@cxf.apache.org Received: (qmail 10815 invoked by uid 99); 27 Jan 2012 16:39:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2012 16:39:12 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.95.72.244] (HELO mxout.myoutlookonline.com) (64.95.72.244) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2012 16:39:04 +0000 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id C89727E3BE4 for ; Fri, 27 Jan 2012 11:38:42 -0500 (EST) X-Virus-Scanned: by SpamTitan at mail.lan Received: from S10HUB001.SH10.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 21D0A7E3B9F for ; Fri, 27 Jan 2012 11:38:42 -0500 (EST) Received: from S10BE002.SH10.lan ([::1]) by S10HUB001.SH10.lan ([::1]) with mapi id 14.01.0289.001; Fri, 27 Jan 2012 11:38:41 -0500 From: Andrei Shakirin To: "dev@cxf.apache.org" Subject: Support multiple policy interceptor providers per policy assertion Thread-Topic: Support multiple policy interceptor providers per policy assertion Thread-Index: AczdEehnyVGnaWJ8TaK90gAxqCj0qg== Date: Fri, 27 Jan 2012 16:38:41 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [188.104.87.206] Content-Type: multipart/alternative; boundary="_000_D225CD69196F3F4A9F4174B2FCA06F8858E00DS10BE002SH10lan_" MIME-Version: 1.0 --_000_D225CD69196F3F4A9F4174B2FCA06F8858E00DS10BE002SH10lan_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, At the moment policy mechanism is very powerful, but have some limitations.= One of them is that it is possible to register only one InterceptorProvide= r for one policy assertion. PolicyInterceptorProviderRegistry interface extends Regsitry as: public interface PolicyInterceptorProviderRegistry extends Registry { ... I see some use cases where PolicyInterceptorProvider(s) are independent, bu= t associated with the same policy assertion (for example in complex authent= ication case). Proposal: extend PolicyInterceptorProviderRegistry to save set of PolicyInt= erceptorProvider for one assertion. If proposal is accepted I will provide patch. Jira issue is already created: https://issues.apache.org/jira/browse/CXF-40= 73. Regards, Andrei. --_000_D225CD69196F3F4A9F4174B2FCA06F8858E00DS10BE002SH10lan_--