Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9622DBB00 for ; Fri, 6 Jan 2012 08:17:53 +0000 (UTC) Received: (qmail 29532 invoked by uid 500); 6 Jan 2012 08:17:52 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 29006 invoked by uid 500); 6 Jan 2012 08:17:33 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 28989 invoked by uid 99); 6 Jan 2012 08:17:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 08:17:22 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=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, 06 Jan 2012 08:17:12 +0000 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 3B28D55390C for ; Fri, 6 Jan 2012 03:16:51 -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 C959355384C for ; Fri, 6 Jan 2012 03:16:50 -0500 (EST) Received: from S10BE002.SH10.lan ([::1]) by S10HUB001.SH10.lan ([::1]) with mapi id 14.01.0289.001; Fri, 6 Jan 2012 03:16:50 -0500 From: XiLai Dai To: "users@cxf.apache.org" Subject: About interceptor chain in the security fault case Thread-Topic: About interceptor chain in the security fault case Thread-Index: AQHMzEuKnp9jKHws40yQQk1MBilqEQ== Date: Fri, 6 Jan 2012 08:16:49 +0000 Message-ID: <3CE232B101735842A33D70BBAF691C93D90F4D@S10BE002.SH10.lan> References: <8A604437-9819-445F-8D24-48B955462122@atomikos.com> <1955699.SXniJ6qQVY@dilbert.dankulp.com> <1516BB61-592B-4AD5-9E21-C14A79DF4E4E@atomikos.com> In-Reply-To: <1516BB61-592B-4AD5-9E21-C14A79DF4E4E@atomikos.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: AvVO CZ2p DUw3 DnGm EBZ+ FLEL Gtn+ GwxQ Ic1o Ie26 Iv/r JBz2 JYPa JiFy KCUg KJV6;1;dQBzAGUAcgBzAEAAYwB4AGYALgBhAHAAYQBjAGgAZQAuAG8AcgBnAA==;Sosha1_v1;7;{0DDB981B-727D-4420-81BC-445B0F60E95C};eABsAGQAYQBpAEAAdABhAGwAZQBuAGQALgBjAG8AbQA=;Fri, 06 Jan 2012 08:16:40 GMT;QQBiAG8AdQB0ACAAaQBuAHQAZQByAGMAZQBwAHQAbwByACAAYwBoAGEAaQBuACAAaQBuACAAdABoAGUAIABzAGUAYwB1AHIAaQB0AHkAIABmAGEAdQBsAHQAIABjAGEAcwBlAA== x-cr-puzzleid: {0DDB981B-727D-4420-81BC-445B0F60E95C} x-originating-ip: [60.247.124.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hello, We have a interceptor which is used to get operation name and something els= e. It works for most of use cases but not works with the security fault cas= e. After some debugging, the order of the interceptors like this:=20 org.apache.cxf.ws.policy.PolicyInInterceptor@4db9dc (message.getExchange()= .getBindingOperationInfo() =3D null) ourInterceptor@1d00259 (message.getExchange().getBindingOperationInfo() = =3D null) ............ org.apache.cxf.ws.security.wss4j.UsernameTokenInterceptor@1b8935b (message.= getExchange().getBindingOperationInfo() =3D null) //Exception if password= is wrong and stop iterate over interceptor chain. ............ org.apache.cxf.interceptor.URIMappingInterceptor@14d583a (message.getExchan= ge().getBindingOperationInfo() ok) who can give some proposal on how to get the operation name in the security= fault case? Thanks! Regards. Xilai