Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 26547 invoked from network); 8 Dec 2006 14:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 14:47:14 -0000 Received: (qmail 1821 invoked by uid 500); 8 Dec 2006 14:47:01 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1645 invoked by uid 500); 8 Dec 2006 14:47:00 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 1323 invoked by uid 99); 8 Dec 2006 14:47:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 06:46:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 06:46:49 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EBD07714311 for ; Fri, 8 Dec 2006 06:46:28 -0800 (PST) Message-ID: <2786421.1165589188963.JavaMail.jira@brutus> Date: Fri, 8 Dec 2006 06:46:28 -0800 (PST) From: "Ali Sadik Kumlali (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-1849) Security exception is swallowed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Security exception is swallowed ------------------------------- Key: AXIS2-1849 URL: http://issues.apache.org/jira/browse/AXIS2-1849 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Components: modules Affects Versions: 1.1 Environment: Windows XP Professional, JDK 1.4.2.12-b03 Reporter: Ali Sadik Kumlali I need to catch the exception occured in securiy phase. But it seems Rampart just logs the exception and not propagate to the transport receiver. Thus, I'm not able to catch it and notify the sender. Here is my scenario: - My WSDL has input only (one-way) operations. - Client sends signed messages by invoking appropriate method of generated stub. - Service's keystore doesn't have the public certificate of the client - Rampart logs the exception[1] BUT doesn't throw it. Since I wrote my own transport receiver, I'm able to catch any exception(including RuntimeException) thrown through the execution path(transport receiver -> phases/modules -> message receiver). Regards, Ali Sadik Kumlali [1] [ERROR][2006-12-08 14:40:48,535] org.apache.axis2.transport.jms.AxisMdb - JMS Wo rker [JMS Session Delivery Thread] Encountered an Axis Fault : WSDoAllReceiver: security processing failed; nested exception is: org.apache.ws.security.WSSecurityException: The signature verification f ailed org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed; nested exception is: org.apache.ws.security.WSSecurityException: The signature verification f ailed at org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiv er.java:275) at org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllRece iver.java:98) at org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java: 74) at org.apache.axis2.engine.Phase.invoke(Phase.java:381) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:521) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:485) at org.apache.axis2.transport.jms.AxisMdb.onMessage(AxisMdb.java:245) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org