From rampartsschneider@example.com Mon Aug 03 10:05:34 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 67505 invoked from network); 3 Aug 2009 10:05:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 10:05:34 -0000 Received: (qmail 59440 invoked by uid 500); 3 Aug 2009 10:05:39 -0000 Delivered-To: sschneider@example.com Received: (qmail 59367 invoked by uid 500); 3 Aug 2009 10:05:39 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 59356 invoked by uid 99); 3 Aug 2009 10:05:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 10:05:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 10:05:35 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id C4AD3234C046 for <sschneider@example.com>; Mon, 3 Aug 2009 03:05:14 -0700 (PDT) Message-ID: <755841463.1249293914801.JavaMail.jira@brutus> Date: Mon, 3 Aug 2009 03:05:14 -0700 (PDT) From: "Chinmoy Chakraborty (JIRA)" <sschneider@example.com> To: sschneider@example.com Subject: [jira] Created: (RAMPART-236) SOAP fault in not properly handled for parameter based WS-Security (issue in RampartReceiver??) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org SOAP fault in not properly handled for parameter based WS-Security (issue in RampartReceiver??) ----------------------------------------------------------------------------------------------- Key: RAMPART-236 URL: https://issues.apache.org/jira/browse/RAMPART-236 Project: Rampart Issue Type: Bug Components: rampart-core Affects Versions: 1.4 Environment: Axis2 1.4, Rampart 1.4, Tomcat 5.0, JDK 1.5, Windows XP Reporter: Chinmoy Chakraborty Assignee: Ruchith Udayanga Fernando For parameterbased ws-security enabled services, in normal cases when there is no error at the time of invocation (invocation of business logic) of the service, it works fine. So far so good. Now when some error happens at the time of service invocation it does not return SOAP fault back. I guess this a bug in RampartReceiver/(RampartSender?). Please find rampart_debug.log. See at line 801. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From rampartsschneider@example.com Mon Aug 03 10:11:34 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 70204 invoked from network); 3 Aug 2009 10:11:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 10:11:34 -0000 Received: (qmail 63440 invoked by uid 500); 3 Aug 2009 10:11:39 -0000 Delivered-To: sschneider@example.com Received: (qmail 63378 invoked by uid 500); 3 Aug 2009 10:11:39 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 63367 invoked by uid 99); 3 Aug 2009 10:11:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 10:11:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 10:11:35 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id D9F3A234C04C for <sschneider@example.com>; Mon, 3 Aug 2009 03:11:14 -0700 (PDT) Message-ID: <79500429.1249294274891.JavaMail.jira@brutus> Date: Mon, 3 Aug 2009 03:11:14 -0700 (PDT) From: "Chinmoy Chakraborty (JIRA)" <sschneider@example.com> To: sschneider@example.com Subject: [jira] Updated: (RAMPART-236) SOAP fault in not properly handled for parameter based WS-Security (issue in RampartReceiver??) In-Reply-To: <755841463.1249293914801.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAMPART-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chinmoy Chakraborty updated RAMPART-236: ---------------------------------------- Attachment: rampart_debug.log Debug log. See at line 801. You will see 'internal server error'. > SOAP fault in not properly handled for parameter based WS-Security (issue in RampartReceiver??) > ----------------------------------------------------------------------------------------------- > > Key: RAMPART-236 > URL: https://issues.apache.org/jira/browse/RAMPART-236 > Project: Rampart > Issue Type: Bug > Components: rampart-core > Affects Versions: 1.4 > Environment: Axis2 1.4, Rampart 1.4, Tomcat 5.0, JDK 1.5, Windows XP > Reporter: Chinmoy Chakraborty > Assignee: Ruchith Udayanga Fernando > Attachments: rampart_debug.log > > > For parameterbased ws-security enabled services, in normal cases when there is no error at the time of invocation (invocation of business logic) of the service, it works fine. So far so good. Now when some error happens at the time of service invocation it does not return SOAP fault back. > I guess this a bug in RampartReceiver/(RampartSender?). Please find rampart_debug.log. See at line 801. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From rampartsschneider@example.com Mon Aug 03 10:15:34 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 72505 invoked from network); 3 Aug 2009 10:15:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 10:15:34 -0000 Received: (qmail 69784 invoked by uid 500); 3 Aug 2009 10:15:39 -0000 Delivered-To: sschneider@example.com Received: (qmail 69725 invoked by uid 500); 3 Aug 2009 10:15:39 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 69715 invoked by uid 99); 3 Aug 2009 10:15:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 10:15:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 10:15:36 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 0F876234C495 for <sschneider@example.com>; Mon, 3 Aug 2009 03:15:15 -0700 (PDT) Message-ID: <1107730854.1249294515062.JavaMail.jira@brutus> Date: Mon, 3 Aug 2009 03:15:15 -0700 (PDT) From: "Chinmoy Chakraborty (JIRA)" <sschneider@example.com> To: sschneider@example.com Subject: [jira] Updated: (RAMPART-236) Error in service method is not properly handled for parameter based WS-Security (issue in RampartReceiver??) In-Reply-To: <755841463.1249293914801.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAMPART-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chinmoy Chakraborty updated RAMPART-236: ---------------------------------------- Summary: Error in service method is not properly handled for parameter based WS-Security (issue in RampartReceiver??) (was: SOAP fault in not properly handled for parameter based WS-Security (issue in RampartReceiver??)) > Error in service method is not properly handled for parameter based WS-Security (issue in RampartReceiver??) > ------------------------------------------------------------------------------------------------------------ > > Key: RAMPART-236 > URL: https://issues.apache.org/jira/browse/RAMPART-236 > Project: Rampart > Issue Type: Bug > Components: rampart-core > Affects Versions: 1.4 > Environment: Axis2 1.4, Rampart 1.4, Tomcat 5.0, JDK 1.5, Windows XP > Reporter: Chinmoy Chakraborty > Assignee: Ruchith Udayanga Fernando > Attachments: rampart_debug.log > > > For parameterbased ws-security enabled services, in normal cases when there is no error at the time of invocation (invocation of business logic) of the service, it works fine. So far so good. Now when some error happens at the time of service invocation it does not return SOAP fault back. > I guess this a bug in RampartReceiver/(RampartSender?). Please find rampart_debug.log. See at line 801. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From rampartsschneider@example.com Mon Aug 03 11:09:42 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 88712 invoked from network); 3 Aug 2009 11:09:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 11:09:41 -0000 Received: (qmail 20600 invoked by uid 500); 3 Aug 2009 11:09:46 -0000 Delivered-To: sschneider@example.com Received: (qmail 20546 invoked by uid 500); 3 Aug 2009 11:09:46 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 20536 invoked by uid 99); 3 Aug 2009 11:09:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 11:09:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 11:09:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B4749238886C; Mon, 3 Aug 2009 11:09:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r800302 - in /webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart: RampartEngine.java RampartMessageData.java Date: Mon, 03 Aug 2009 11:09:21 -0000 To: sschneider@example.com From: sschneider@example.com X-Mailer: svnmailer-1.0.8 Message-Id: <sschneider@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: nandana Date: Mon Aug 3 11:09:21 2009 New Revision: 800302 URL: http://svn.apache.org/viewvc?rev=800302&view=rev Log: fixing RAMPART-230 Modified: webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java Modified: webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java?rev=800302&r1=800301&r2=800302&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java (original) +++ webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java Mon Aug 3 11:09:21 2009 @@ -76,10 +76,16 @@ RampartUtil.validateTransport(rmd); + // If there is no policy information return immediately + if (rpd == null) { + return null; + } - //If there is no policy information or if the message is a security fault or no security - // header required by the policy - if(rpd == null || isSecurityFault(rmd) || !RampartUtil.isSecHeaderRequired(rpd,rmd.isInitiator(),true)) { + + //TODO these checks have to be done before the convertion to avoid unnecessary convertion to LLOM -> DOOM + // If the message is a security fault or no security + // header required by the policy + if(isSecurityFault(rmd) || !RampartUtil.isSecHeaderRequired(rpd,rmd.isInitiator(),true)) { SOAPEnvelope env = Axis2Util.getSOAPEnvelopeFromDOMDocument(rmd.getDocument(), true); //Convert back to llom since the inflow cannot use llom Modified: webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java?rev=800302&r1=800301&r2=800302&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java (original) +++ webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java Mon Aug 3 11:09:21 2009 @@ -159,16 +159,7 @@ this.msgContext = msgCtx; try { - - /* - * First get the SOAP envelope as document, then create a security - * header and insert into the document (Envelope) - */ - this.document = Axis2Util.getDocumentFromSOAPEnvelope(msgCtx.getEnvelope(), true); - msgCtx.setEnvelope((SOAPEnvelope)this.document.getDocumentElement()); - - this.soapConstants = WSSecurityUtil.getSOAPConstants(this.document.getDocumentElement()); - + //Extract known properties from the msgCtx if(msgCtx.getProperty(KEY_WST_VERSION) != null) { @@ -257,7 +248,15 @@ if(this.policyData != null) { - + + // Get the SOAP envelope as document, then create a security + // header and insert into the document (Envelope) + // WE SHOULD ONLY DO THE CONVERTION IF THERE IS AN APPLICABLE POLICY + this.document = Axis2Util.getDocumentFromSOAPEnvelope(msgCtx.getEnvelope(), true); + msgCtx.setEnvelope((SOAPEnvelope)this.document.getDocumentElement()); + + this.soapConstants = WSSecurityUtil.getSOAPConstants(this.document.getDocumentElement()); + // Update the Rampart Config if RampartConfigCallbackHandler is present in the // RampartConfig From rampartsschneider@example.com Mon Aug 03 11:10:59 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 90545 invoked from network); 3 Aug 2009 11:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 11:10:59 -0000 Received: (qmail 22807 invoked by uid 500); 3 Aug 2009 11:11:04 -0000 Delivered-To: sschneider@example.com Received: (qmail 22721 invoked by uid 500); 3 Aug 2009 11:11:04 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 22711 invoked by uid 99); 3 Aug 2009 11:11:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 11:11:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 11:11:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B11E1238886C; Mon, 3 Aug 2009 11:10:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r800303 - /webservices/rampart/trunk/java/pom.xml Date: Mon, 03 Aug 2009 11:10:39 -0000 To: sschneider@example.com From: sschneider@example.com X-Mailer: svnmailer-1.0.8 Message-Id: <sschneider@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: nandana Date: Mon Aug 3 11:10:39 2009 New Revision: 800303 URL: http://svn.apache.org/viewvc?rev=800303&view=rev Log: moving to WSS4J 1.5.8 Modified: webservices/rampart/trunk/java/pom.xml Modified: webservices/rampart/trunk/java/pom.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/pom.xml?rev=800303&r1=800302&r2=800303&view=diff ============================================================================== --- webservices/rampart/trunk/java/pom.xml (original) +++ webservices/rampart/trunk/java/pom.xml Mon Aug 3 11:10:39 2009 @@ -373,7 +373,7 @@ <axis2.transport.version>1.0-SNAPSHOT</axis2.transport.version> <addressing.mar.version>1.5</addressing.mar.version> - <wss4j.version>1.5.8-SNAPSHOT</wss4j.version> + <wss4j.version>1.5.8</wss4j.version> <xmlsec.version>1.4.2</xmlsec.version> <opensaml.version>1.1</opensaml.version> From rampartsschneider@example.com Mon Aug 03 11:15:39 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 92347 invoked from network); 3 Aug 2009 11:15:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 11:15:39 -0000 Received: (qmail 29189 invoked by uid 500); 3 Aug 2009 11:15:44 -0000 Delivered-To: sschneider@example.com Received: (qmail 29130 invoked by uid 500); 3 Aug 2009 11:15:44 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 29120 invoked by uid 99); 3 Aug 2009 11:15:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 11:15:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 11:15:35 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 19D83234C046 for <sschneider@example.com>; Mon, 3 Aug 2009 04:15:15 -0700 (PDT) Message-ID: <159084083.1249298115101.JavaMail.jira@brutus> Date: Mon, 3 Aug 2009 04:15:15 -0700 (PDT) From: "Nandana Mihindukulasooriya (JIRA)" <sschneider@example.com> To: sschneider@example.com Subject: [jira] Commented: (RAMPART-230) Rampart expands message object model unnecessarily In-Reply-To: <423697588.1244965447344.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAMPART-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738279#action_12738279 ] Nandana Mihindukulasooriya commented on RAMPART-230: ---------------------------------------------------- Dennis, Can you try this with the current after revision 800302. regards, Nandana > Rampart expands message object model unnecessarily > -------------------------------------------------- > > Key: RAMPART-230 > URL: https://issues.apache.org/jira/browse/RAMPART-230 > Project: Rampart > Issue Type: Bug > Components: rampart-core > Reporter: Dennis Sosnoski > Assignee: Ruchith Udayanga Fernando > Fix For: 1.5 > > > In performance testing I've found that Rampart appears to expand the message object model in situations where this expansion should not be required, causing in a major performance hit. One example is when Rampart is engaged in client code, even with no security policy supplied (and hence no security headers needing to be generated). However, even in many cases where security headers are being used Rampart should not need to expand the message object model (with UsernameToken, for instance). > My testing used the Axis2 1.5 code and a recent nightly build of Rampart. The object model expansion with Rampart engaged is shown in debug logging messages such as "OMSourceElementImpl:244 - forceExpand: expanding element {http://ws.sosnoski.com/seismic/types}matchQuakes" occurring during the 'Apache Rampart outflow handler' processing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From rampartsschneider@example.com Mon Aug 03 16:24:10 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 63657 invoked from network); 3 Aug 2009 16:24:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 16:24:10 -0000 Received: (qmail 63336 invoked by uid 500); 3 Aug 2009 16:24:14 -0000 Delivered-To: sschneider@example.com Received: (qmail 63283 invoked by uid 500); 3 Aug 2009 16:24:14 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 63273 invoked by uid 99); 3 Aug 2009 16:24:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 16:24:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sschneider@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-pz0-f177.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 16:24:03 +0000 Received: by pzk7 with SMTP id 7so2777193pzk.0 for <sschneider@example.com>; Mon, 03 Aug 2009 09:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=tFBWrTmVGm3DjMnpqdrj3MUUcbhZ8UZFcmeFVw+37sg=; b=H8a5TzLLxU1ejLOv7/xrFudrROKqTYztjVIhg/8ICaB682RAxPA7Ck08sUpyfw3Uwg EVFHtkHmKKYiSblP5Wbwe00No1cvt17RIimd+3RInVzrFtDdEK+4VD2GfeJ3a9SshaXR qaxiJbmDnj2XDlqw5NSZOrj6FF3YvAirE5dog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nKD/C4FNEx4Uoi7Z8lqDQv6HXHYcg8k2EICpIlQ+qimseKpqZ43BEr7SfzwicxkrJM 6602ZFgjEttf3oD5ShP49cGeForIJWeV/i+pdWgmOAcO7HQgsRzSVVco5nx5VW7OV/1r VrOIji4BzwI/G0W26BIjCrh3fXZGhKoD5QFc0= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id l9mr9560038wab.43.1249316621696; Mon, 03 Aug 2009 09:23:41 -0700 (PDT) In-Reply-To: <sschneider@example.com> References: <sschneider@example.com> <sschneider@example.com> <sschneider@example.com> <sschneider@example.com> Date: Mon, 3 Aug 2009 21:53:41 +0530 Message-ID: <sschneider@example.com> Subject: Re: Support for SAML 2.0 in Apache Rampart From: Thilina Mahesh Buddhika <sschneider@example.com> To: Daniel Silva <sschneider@example.com> Cc: sschneider@example.com Content-Type: multipart/alternative; boundary=00163646bbce72bd6c04703f31b0 X-Virus-Checked: Checked by ClamAV on apache.org --00163646bbce72bd6c04703f31b0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Daniel, SAML 2.0 support will be available very soon in Rampart, and hopefully it will be included in the Rampart 1.5 release. Currently I am working on samples/tests for SAML2.0 support. Stay tuned to this thread. I will update it as soon as the code is available in the Rampart code base. Do you want to validate a SAML 2.0 assertion ? If so that is not possible with the existing Rampart code. But if you want to validate a SAML1.1/1.0 assertion, it is possible to use SAMLTokenProcessor class available in the org.apache.ws.security.processor package in WSS4J. Rampart makes use of tha= t class to validate SAML1.1 assertions. I have not encountered any usage of SAMLTokenValidator class you mentioned. Thanks. best regards, /thilina E-Mail : sschneider@example.com I blog here : http://thilinamb.com On Tue, Jul 28, 2009 at 4:26 PM, Daniel Silva <sschneider@example.com> wrote= : > Hi, > > I'm developing a Web Service that needs to enforce access control based o= n > the user (Subject/NameID) received on a SAML 2.0 Assertion. > I see that rampart doesn=B4t support SAML 2.0 yet and there is work alrea= dy > done by Thilina. > I need to move forward on this... Is there anything I can do/use? > What would be the steps to validate the SAML Assertion? Can I use > SAMLTokenValidator as example? > > BTW, when will be rampart 1.5 released? > > Thank you very much. > > Best regards, > > Daniel Silva > > This e-mail is privileged, confidential and contains private information. > Any reading, retention, distribution or copying of this communication by = any > person other than its intended recipient is prohibited. > > > -----Original Message----- > From: Thilina Mahesh Buddhika [mailto:sschneider@example.com] > Sent: s=E1bado, 25 de Julho de 2009 12:27 > To: sschneider@example.com > Subject: Re: Support for SAML 2.0 in Apache Rampart > > hi Nandana, > > I have completed implementing a SAML2 Issuer and the validator. Only a > small > work is remaining to complete this feature. > > Hopefully we will be able to finish this before the relase. > > Thanks. > /thilina > > E-Mail : sschneider@example.com > I blog here : http://thilinamb.com > > > On Fri, Jul 24, 2009 at 6:27 PM, Nandana Mihindukulasooriya < > sschneider@example.com> wrote: > > > Hi Thilina, > > How is the progress on this ? Will we be able to include this in > > Rampart 1.5 release ? > > > > thanks, > > Nandana > > > > On Thu, Jun 18, 2009 at 9:46 AM, Thilina Mahesh Buddhika < > > sschneider@example.com> wrote: > > > > > Hi all, > > > > > > At the moment Rampart only supports SAML 1.0, but not SAML 2.0. SAML > 2.0 > > > comes with a lot of improvements compared to SAML 1.*, and it is > heavily > > > used in providing SSO and federated identities. > > > > > > So I would like to implement the SAML 2.0 support in Rampart. I have > > > already > > > started working on this. The JIRA that was created for this new featu= re > > can > > > be found at [1]. > > > > > > Thanks. > > > > > > /thilina. > > > > > > [1] - https://issues.apache.org/jira/browse/RAMPART-231 > > > > > > E-Mail : sschneider@example.com > > > I blog here : http://thilinamb.com > > > > > > --00163646bbce72bd6c04703f31b0-- From rampartsschneider@example.com Mon Aug 03 17:06:03 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 79981 invoked from network); 3 Aug 2009 17:06:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 17:06:03 -0000 Received: (qmail 46696 invoked by uid 500); 3 Aug 2009 17:06:08 -0000 Delivered-To: sschneider@example.com Received: (qmail 46640 invoked by uid 500); 3 Aug 2009 17:06:08 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 46630 invoked by uid 99); 3 Aug 2009 17:06:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 17:06:08 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO viasat.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 17:06:00 +0000 Received: from ([83.161.120.155]) by hawk.viasat.com with ESMTP id 5B7LFJ1.726916; Mon, 03 Aug 2009 13:04:28 -0400 Received: from VGAEXCH01.hq.corp.viasat.com ([83.161.120.155]) by VGAEXCH02.hq.corp.viasat.com with Microsoft SMTPSVC+1-678-719-7113); Mon, 3 Aug 2009 13:06:28 -0400 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA145C.9CE5FC50" Subject: wss4j timestamp and Oracle OC4J Date: Mon, 3 Aug 2009 13:06:25 -0400 Message-ID: <sschneider@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: wss4j timestamp and Oracle OC4J Thread-index: AcoUXLuVbpwtbTKSQGOuLYTXXMJ01A== From: "Betts, Hendry" <sschneider@example.com> To: <sschneider@example.com> X-OriginalArrivalTime: 03 Aug 2009 17:06:28.0734 (UTC) FILETIME=[BDCCC1E0:01CA145C] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA145C.9CE5FC50 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Good morning everyone, =20 I am currently using web services that are deployed in an Oracle OC4J (Orion Web Application Server) container. The timestamps that the Oracle wss generates are only to the second and I am seeing that the timestamps generated by Rampart/WSS4J are to the millisecond. Is there any way to override that timestamp so I can use my Oracle Web Services with the timestamp? =20 Hendry Betts| ViaSat |Developer| *:sschneider@example.com| *:+1-678-719-7113 | *: +1-678-719-7113 =20 ------_=_NextPart_001_01CA145C.9CE5FC50-- From rampartsschneider@example.com Mon Aug 03 17:50:07 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 13934 invoked from network); 3 Aug 2009 17:50:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Aug 2009 17:50:07 -0000 Received: (qmail 30833 invoked by uid 500); 3 Aug 2009 17:50:12 -0000 Delivered-To: sschneider@example.com Received: (qmail 30792 invoked by uid 500); 3 Aug 2009 17:50:12 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 30782 invoked by uid 99); 3 Aug 2009 17:50:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 17:50:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO viasat.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 17:50:04 +0000 Received: from ([83.161.120.155]) by hawk.viasat.com with ESMTP id 5B7LFJ1.727981; Mon, 03 Aug 2009 13:48:27 -0400 Received: from VGAEXCH01.hq.corp.viasat.com ([83.161.120.155]) by VGAEXCH02.hq.corp.viasat.com with Microsoft SMTPSVC+1-678-719-7113); Mon, 3 Aug 2009 13:50:27 -0400 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: wss4j timestamp and Oracle OC4J Date: Mon, 3 Aug 2009 13:50:24 -0400 Message-ID: <sschneider@example.com> In-Reply-To: <sschneider@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: wss4j timestamp and Oracle OC4J Thread-index: AcoUXLuVbpwtbTKSQGOuLYTXXMJ01AABftEg References: <sschneider@example.com> From: "Betts, Hendry" <sschneider@example.com> To: <sschneider@example.com> X-OriginalArrivalTime: 03 Aug 2009 17:50:27.0561 (UTC) FILETIME=[E2A9CD90:01CA1462] X-Virus-Checked: Checked by ClamAV on apache.org I have to ask these questions of my self before sending to the list. The short answer (for those who may not know but want to know) is to set the wss4j precisionInMilliseonds parameter. I feel like a total wonk for not seeing that before I asked the question. Sorry. Hendry Betts| ViaSat |Developer| *:sschneider@example.com| *:+1-678-719-7113 | *: +1-678-719-7113 -----Original Message----- From: Betts, Hendry [mailto:sschneider@example.com]=20 Sent: Monday, August 03, 2009 1:06 PM To: sschneider@example.com Subject: wss4j timestamp and Oracle OC4J Good morning everyone, =20 I am currently using web services that are deployed in an Oracle OC4J (Orion Web Application Server) container. The timestamps that the Oracle wss generates are only to the second and I am seeing that the timestamps generated by Rampart/WSS4J are to the millisecond. Is there any way to override that timestamp so I can use my Oracle Web Services with the timestamp? =20 Hendry Betts| ViaSat |Developer| *:sschneider@example.com| *:+1-678-719-7113 | *: +1-678-719-7113 =20 From rampartsschneider@example.com Tue Aug 04 06:37:32 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 10461 invoked from network); 4 Aug 2009 06:37:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2009 06:37:32 -0000 Received: (qmail 33311 invoked by uid 500); 4 Aug 2009 06:37:37 -0000 Delivered-To: sschneider@example.com Received: (qmail 33229 invoked by uid 500); 4 Aug 2009 06:37:36 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 33199 invoked by uid 99); 4 Aug 2009 06:37:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 06:37:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 06:37:34 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id D0254234C045 for <sschneider@example.com>; Mon, 3 Aug 2009 23:37:14 -0700 (PDT) Message-ID: <2051031958.1249367834851.JavaMail.jira@brutus> Date: Mon, 3 Aug 2009 23:37:14 -0700 (PDT) From: "Nandana Mihindukulasooriya (JIRA)" <sschneider@example.com> To: sschneider@example.com Subject: [jira] Commented: (RAMPART-188) unable to engage rampart 1.4 on websphere application server 6.1 In-Reply-To: <1165753390.1217467111775.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAMPART-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738859#action_12738859 ] Nandana Mihindukulasooriya commented on RAMPART-188: ---------------------------------------------------- Hi Shrikant, Do you have any update on this issue ? regards, Nandana > unable to engage rampart 1.4 on websphere application server 6.1 > ---------------------------------------------------------------- > > Key: RAMPART-188 > URL: https://issues.apache.org/jira/browse/RAMPART-188 > Project: Rampart > Issue Type: Bug > Components: rampart-core, rampart-integration, rampart-policy, rampart-trust > Affects Versions: 1.4 > Environment: websphere application server 6.1. > Reporter: shrikant > Assignee: Ruchith Udayanga Fernando > Priority: Blocker > Original Estimate: 32h > Remaining Estimate: 32h > > I have enterprise app which contains a MDB and a web service client (java project) on websphere 6.1. I am using axis2 1.4 jars, rampart 1.4 for client project. When the mdb invokes the web service client, I am exception AxisFault: Trying to engage a module which is not available: rampart. > I am able to run the web service client in standalone mode, but when it is packaged and deployed within EAR its not able to engage the rampart module. However axis is able to engage the addressing module perfectly fine. > I have configured my application class loader policy as "parent last" to make sure that apps jars are loaded first. > I do not know why rampart module is not being engaged when the web service client application is deployed onto websphere application server 6.1. Any help will be appreciated. > Thank you, > Shrikant -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From rampartsschneider@example.com Tue Aug 04 08:55:32 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 35442 invoked from network); 4 Aug 2009 08:55:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2009 08:55:32 -0000 Received: (qmail 80630 invoked by uid 500); 4 Aug 2009 08:55:37 -0000 Delivered-To: sschneider@example.com Received: (qmail 80579 invoked by uid 500); 4 Aug 2009 08:55:37 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 80567 invoked by uid 99); 4 Aug 2009 08:55:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 08:55:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 08:55:35 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id EB564234C053 for <sschneider@example.com>; Tue, 4 Aug 2009 01:55:14 -0700 (PDT) Message-ID: <609521448.1249376114962.JavaMail.jira@brutus> Date: Tue, 4 Aug 2009 01:55:14 -0700 (PDT) From: "Nandana Mihindukulasooriya (JIRA)" <sschneider@example.com> To: sschneider@example.com Subject: [jira] Commented: (RAMPART-236) Error in service method is not properly handled for parameter based WS-Security (issue in RampartReceiver??) In-Reply-To: <755841463.1249293914801.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAMPART-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738901#action_12738901 ] Nandana Mihindukulasooriya commented on RAMPART-236: ---------------------------------------------------- Hi Chinmoy, Can you please try with the latest trunk and Axis2 1.5 ? regards, Nandana > Error in service method is not properly handled for parameter based WS-Security (issue in RampartReceiver??) > ------------------------------------------------------------------------------------------------------------ > > Key: RAMPART-236 > URL: https://issues.apache.org/jira/browse/RAMPART-236 > Project: Rampart > Issue Type: Bug > Components: rampart-core > Affects Versions: 1.4 > Environment: Axis2 1.4, Rampart 1.4, Tomcat 5.0, JDK 1.5, Windows XP > Reporter: Chinmoy Chakraborty > Assignee: Ruchith Udayanga Fernando > Attachments: rampart_debug.log > > > For parameterbased ws-security enabled services, in normal cases when there is no error at the time of invocation (invocation of business logic) of the service, it works fine. So far so good. Now when some error happens at the time of service invocation it does not return SOAP fault back. > I guess this a bug in RampartReceiver/(RampartSender?). Please find rampart_debug.log. See at line 801. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From rampartsschneider@example.com Tue Aug 04 12:09:33 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 8530 invoked from network); 4 Aug 2009 12:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2009 12:09:33 -0000 Received: (qmail 12892 invoked by uid 500); 4 Aug 2009 12:09:38 -0000 Delivered-To: sschneider@example.com Received: (qmail 12852 invoked by uid 500); 4 Aug 2009 12:09:38 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 12842 invoked by uid 99); 4 Aug 2009 12:09:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 12:09:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 12:09:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5D0FF238884C; Tue, 4 Aug 2009 12:09:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r800742 - in /webservices/rampart/trunk/java/modules: rampart-core/src/main/java/org/apache/rampart/ rampart-integration/ rampart-integration/src/main/java/org/apache/rampart/ rampart-integration/src/test/java/org/apache/rampart/ rampart-in... Date: Tue, 04 Aug 2009 12:09:04 -0000 To: sschneider@example.com From: sschneider@example.com X-Mailer: svnmailer-1.0.8 Message-Id: <sschneider@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: nandana Date: Tue Aug 4 12:09:03 2009 New Revision: 800742 URL: http://svn.apache.org/viewvc?rev=800742&view=rev Log: Applying the patch for RAMPART-233, Thanks Thilina Added: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/24.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/25.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-24.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-25.xml Modified: webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java webservices/rampart/trunk/java/modules/rampart-integration/pom.xml webservices/rampart/trunk/java/modules/rampart-integration/src/main/java/org/apache/rampart/Service.java webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-1.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-10.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-11.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-12.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-13.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-14.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-15.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-16.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-17.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-18.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-19.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-2.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-20.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-21.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-22.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-3.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-4.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-5.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-6.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-7.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-8.xml webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-9.xml Modified: webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java (original) +++ webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java Tue Aug 4 12:09:03 2009 @@ -19,6 +19,8 @@ import org.apache.axiom.om.OMElement; import org.apache.axiom.soap.SOAPEnvelope; import org.apache.axis2.AxisFault; +import org.apache.axis2.util.PolicyUtil; +import org.apache.axis2.engine.AxisConfiguration; import org.apache.axis2.context.MessageContext; import org.apache.axis2.context.OperationContext; import org.apache.axis2.description.AxisService; @@ -26,6 +28,7 @@ import org.apache.axis2.wsdl.WSDLConstants; import org.apache.neethi.Policy; import org.apache.neethi.PolicyEngine; +import org.apache.neethi.PolicyComponent; import org.apache.rahas.RahasConstants; import org.apache.rahas.SimpleTokenStore; import org.apache.rahas.TokenStorage; @@ -55,6 +58,7 @@ import java.util.List; import java.util.Vector; +import java.util.ArrayList; public class RampartMessageData { @@ -226,11 +230,22 @@ * extract the service policy is set in the msgCtx. * If it is missing then try to obtain from the configuration files. */ - - if(this.servicePolicy == null) { - this.servicePolicy = msgCtx.getEffectivePolicy(); + + if (this.servicePolicy == null) { + try { + this.servicePolicy = msgCtx.getEffectivePolicy(); + } catch (NullPointerException e) { + //TODO remove this once AXIS2-4114 is fixed + if (axisService != null) { + List<PolicyComponent> policyList = new ArrayList<PolicyComponent>(); + policyList.addAll(axisService.getPolicySubject().getAttachedPolicyComponents()); + AxisConfiguration axisConfiguration = axisService.getAxisConfiguration(); + policyList.addAll(axisConfiguration.getPolicySubject().getAttachedPolicyComponents()); + this.servicePolicy = PolicyUtil.getMergedPolicy(policyList, axisService); + } + } } - + if(this.servicePolicy == null) { Parameter param = msgCtx.getParameter(RampartMessageData.KEY_RAMPART_POLICY); if(param != null) { Modified: webservices/rampart/trunk/java/modules/rampart-integration/pom.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/pom.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/pom.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/pom.xml Tue Aug 4 12:09:03 2009 @@ -296,6 +296,18 @@ tofile="target/temp-ramp/META-INF/services.xml"/> <jar jarfile="target/test-resources/rampart_service_repo/services/SecureService23.aar" basedir="target/temp-ramp"/> + <!-- Service 24 --> + <copy overwrite="yes" + file="src/test/resources/rampart/services-24.xml" + tofile="target/temp-ramp/META-INF/services.xml"/> + <jar jarfile="target/test-resources/rampart_service_repo/services/SecureService24.aar" + basedir="target/temp-ramp"/> + <!-- Service 25 --> + <copy overwrite="yes" + file="src/test/resources/rampart/services-25.xml" + tofile="target/temp-ramp/META-INF/services.xml"/> + <jar jarfile="target/test-resources/rampart_service_repo/services/SecureService25.aar" + basedir="target/temp-ramp"/> <!-- Service SC-1 --> <copy overwrite="yes" file="src/test/resources/rampart/issuer.properties" Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/main/java/org/apache/rampart/Service.java URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/main/java/org/apache/rampart/Service.java?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/main/java/org/apache/rampart/Service.java (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/main/java/org/apache/rampart/Service.java Tue Aug 4 12:09:03 2009 @@ -22,8 +22,17 @@ public OMElement echo(OMElement elem) { elem.build(); elem.detach(); - System.out.println("Service invoked"); - return elem; - } - + return elem; + } + + /** + * New service method for testing negative scenario where service throws an exception + * @param element + * @return + * @throws Exception + */ + public OMElement returnError(OMElement element) throws Exception { + throw new Exception("Testing negative scenarios with Apache Rampart. Intentional Exception"); + } + } Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java Tue Aug 4 12:09:03 2009 @@ -22,23 +22,26 @@ import org.apache.axiom.om.OMNamespace; import org.apache.axiom.om.impl.builder.StAXOMBuilder; import org.apache.axis2.Constants; +import org.apache.axis2.AxisFault; import org.apache.axis2.addressing.EndpointReference; import org.apache.axis2.client.Options; import org.apache.axis2.client.ServiceClient; import org.apache.axis2.context.ConfigurationContext; import org.apache.axis2.context.ConfigurationContextFactory; import org.apache.axis2.context.ServiceContext; +import org.apache.axis2.context.MessageContext; import org.apache.axis2.integration.UtilServer; import org.apache.neethi.Policy; import org.apache.neethi.PolicyEngine; +import org.apache.ws.security.handler.WSHandlerConstants; import junit.framework.TestCase; public class RampartTest extends TestCase { - + public final static int PORT = UtilServer.TESTING_PORT; - + public RampartTest(String name) { super(name); } @@ -74,7 +77,7 @@ "Unlimited Strength Jurisdiction Policy !!!"); } - for (int i = 1; i <= 23; i++) { //<-The number of tests we have + for (int i = 1; i <= 24; i++) { //<-The number of tests we have if(!basic256Supported && (i == 3 || i == 4 || i == 5)) { //Skip the Basic256 tests continue; @@ -103,6 +106,40 @@ serviceClient.sendReceive(getEchoElement()); } + System.out.println("--------------Testing negative scenarios----------------------------"); + + for (int i = 1; i <= 22; i++) { + if (!basic256Supported && (i == 3 || i == 4 || i == 5)) { + //Skip the Basic256 tests + continue; + } + Options options = new Options(); + + if (i == 13) { + continue; + } + + System.out.println("Testing WS-Sec: negative scenario " + i); + options.setAction("urn:returnError"); + options.setTo(new EndpointReference("http://83.161.120.155:" + + PORT + + "/axis2/services/SecureService" + i)); + + ServiceContext context = serviceClient.getServiceContext(); + context.setProperty(RampartMessageData.KEY_RAMPART_POLICY, + loadPolicy("/rampart/policy/" + i + ".xml")); + serviceClient.setOptions(options); + + try { + //Blocking invocation + serviceClient.sendReceive(getOMElement()); + fail("Service Should throw an error.."); + + } catch (AxisFault axisFault) { + assertEquals("Testing negative scenarios with Apache Rampart. Intentional Exception", axisFault.getMessage()); + } + } + for (int i = 1; i <= 3; i++) { //<-The number of tests we have @@ -120,11 +157,11 @@ //Blocking invocation serviceClient.sendReceive(getEchoElement()); serviceClient.sendReceive(getEchoElement()); - + //Cancel the token options.setProperty(RampartMessageData.CANCEL_REQUEST, Constants.VALUE_TRUE); serviceClient.sendReceive(getEchoElement()); - + options.setProperty(RampartMessageData.CANCEL_REQUEST, Constants.VALUE_FALSE); serviceClient.sendReceive(getEchoElement()); options.setProperty(RampartMessageData.CANCEL_REQUEST, Constants.VALUE_TRUE); @@ -136,7 +173,7 @@ fail(e.getMessage()); } } - + private OMElement getEchoElement() { OMFactory fac = OMAbstractFactory.getOMFactory(); OMNamespace omNs = fac.createOMNamespace( @@ -148,12 +185,23 @@ return method; } - + + private OMElement getOMElement() { + OMFactory fac = OMAbstractFactory.getOMFactory(); + OMNamespace omNs = fac.createOMNamespace( + "http://example1.org/example1", "example1"); + OMElement method = fac.createOMElement("returnError", omNs); + OMElement value = fac.createOMElement("Text", omNs); + value.addChild(fac.createOMText(value, "Testing Rampart with WS-SecPolicy")); + method.addChild(value); + + return method; + } + private Policy loadPolicy(String xmlPath) throws Exception { StAXOMBuilder builder = new StAXOMBuilder(RampartTest.class.getResourceAsStream(xmlPath)); return PolicyEngine.getPolicy(builder.getDocumentElement()); } - - + } Added: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/24.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/24.xml?rev=800742&view=auto ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/24.xml (added) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/24.xml Tue Aug 4 12:09:03 2009 @@ -0,0 +1,67 @@ +<wsp:Policy wsu:Id="SignedEncryptedElements" + xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" + xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" + xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"> + <wsp:ExactlyOne> + <wsp:All> + <sp:SymmetricBinding> + <wsp:Policy> + <sp:ProtectionToken> + <wsp:Policy> + <sp:X509Token + sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never"> + <wsp:Policy> + <sp:RequireThumbprintReference/> + <sp:WssX509V3Token10/> + </wsp:Policy> + </sp:X509Token> + </wsp:Policy> + </sp:ProtectionToken> + <sp:AlgorithmSuite> + <wsp:Policy> + <sp:Basic256/> + </wsp:Policy> + </sp:AlgorithmSuite> + <sp:Layout> + <wsp:Policy> + <sp:Lax/> + </wsp:Policy> + </sp:Layout> + <sp:IncludeTimestamp/> + <sp:OnlySignEntireHeadersAndBody/> + </wsp:Policy> + </sp:SymmetricBinding> + <sp:SignedElements> + <sp:XPath xmlns:example1="http://example1.org/example1">//example1:Text</sp:XPath> + </sp:SignedElements> + <sp:EncryptedElements> + <sp:XPath xmlns:example1="http://example1.org/example1">//example1:Text</sp:XPath> + </sp:EncryptedElements> + <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> + <ramp:user>alice</ramp:user> + <ramp:encryptionUser>bob</ramp:encryptionUser> + <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> + + <ramp:signatureCrypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:signatureCrypto> + <ramp:encryptionCypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:encryptionCypto> + </ramp:RampartConfig> + </wsp:All> + </wsp:ExactlyOne> +</wsp:Policy> Added: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/25.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/25.xml?rev=800742&view=auto ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/25.xml (added) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/policy/25.xml Tue Aug 4 12:09:03 2009 @@ -0,0 +1,68 @@ +<wsp:Policy wsu:Id="SignedEncryptedElementsEncryptBeforeSigning" + xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" + xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" + xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"> + <wsp:ExactlyOne> + <wsp:All> + <sp:SymmetricBinding> + <wsp:Policy> + <sp:ProtectionToken> + <wsp:Policy> + <sp:X509Token + sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never"> + <wsp:Policy> + <sp:RequireThumbprintReference/> + <sp:WssX509V3Token10/> + </wsp:Policy> + </sp:X509Token> + </wsp:Policy> + </sp:ProtectionToken> + <sp:AlgorithmSuite> + <wsp:Policy> + <sp:Basic256/> + </wsp:Policy> + </sp:AlgorithmSuite> + <sp:Layout> + <wsp:Policy> + <sp:Lax/> + </wsp:Policy> + </sp:Layout> + <sp:EncryptBeforeSigning/> + <sp:IncludeTimestamp/> + <sp:OnlySignEntireHeadersAndBody/> + </wsp:Policy> + </sp:SymmetricBinding> + <sp:SignedElements> + <sp:XPath xmlns:example1="http://example1.org/example1">//example1:Text</sp:XPath> + </sp:SignedElements> + <sp:EncryptedElements> + <sp:XPath xmlns:example1="http://example1.org/example1">//example1:Text</sp:XPath> + </sp:EncryptedElements> + <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> + <ramp:user>alice</ramp:user> + <ramp:encryptionUser>bob</ramp:encryptionUser> + <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> + + <ramp:signatureCrypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:signatureCrypto> + <ramp:encryptionCypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:encryptionCypto> + </ramp:RampartConfig> + </wsp:All> + </wsp:ExactlyOne> +</wsp:Policy> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-1.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-1.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-1.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-1.xml Tue Aug 4 12:09:03 2009 @@ -10,6 +10,11 @@ <actionMapping>urn:echo</actionMapping> </operation> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + <wsp:Policy wsu:Id="UTOverTransport" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-10.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-10.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-10.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-10.xml Tue Aug 4 12:09:03 2009 @@ -1,76 +1,81 @@ -<service name="SecureService10"> - <!--No timestamp test--> - <module ref="addressing"/> - <module ref="rampart"/> - - <parameter locked="false" name="ServiceClass">org.apache.rampart.Service</parameter> - - <operation name="echo"> - <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> - <actionMapping>urn:echo</actionMapping> - </operation> - - <wsp:Policy wsu:Id="SigOnly" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> - <wsp:ExactlyOne> - <wsp:All> - <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> - <wsp:Policy> - <sp:InitiatorToken> - <wsp:Policy> - <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> - <wsp:Policy> - <sp:WssX509V3Token10/> - </wsp:Policy> - </sp:X509Token> - </wsp:Policy> - </sp:InitiatorToken> - <sp:RecipientToken> - <wsp:Policy> - <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never"> - <wsp:Policy> - <sp:WssX509V3Token10/> - </wsp:Policy> - </sp:X509Token> - </wsp:Policy> - </sp:RecipientToken> - <sp:AlgorithmSuite> - <wsp:Policy> - <sp:Basic256/> - </wsp:Policy> - </sp:AlgorithmSuite> - <sp:Layout> - <wsp:Policy> - <sp:Strict/> - </wsp:Policy> - </sp:Layout> - <!--sp:IncludeTimestamp/--> - <sp:OnlySignEntireHeadersAndBody/> - </wsp:Policy> - </sp:AsymmetricBinding> - <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> - <wsp:Policy> - <sp:MustSupportRefKeyIdentifier/> - <sp:MustSupportRefIssuerSerial/> - </wsp:Policy> - </sp:Wss10> - <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> - <sp:Body/> - </sp:SignedParts> - <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> - <ramp:user>alice</ramp:user> - <ramp:encryptionUser>bob</ramp:encryptionUser> - <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> - - <ramp:signatureCrypto> - <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> - <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> - <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks</ramp:property> - <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password</ramp:property> - </ramp:crypto> - </ramp:signatureCrypto> - </ramp:RampartConfig> - </wsp:All> - </wsp:ExactlyOne> -</wsp:Policy> - +<service name="SecureService10"> + <!--No timestamp test--> + <module ref="addressing"/> + <module ref="rampart"/> + + <parameter locked="false" name="ServiceClass">org.apache.rampart.Service</parameter> + + <operation name="echo"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:echo</actionMapping> + </operation> + + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigOnly" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:ExactlyOne> + <wsp:All> + <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> + <wsp:Policy> + <sp:InitiatorToken> + <wsp:Policy> + <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> + <wsp:Policy> + <sp:WssX509V3Token10/> + </wsp:Policy> + </sp:X509Token> + </wsp:Policy> + </sp:InitiatorToken> + <sp:RecipientToken> + <wsp:Policy> + <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never"> + <wsp:Policy> + <sp:WssX509V3Token10/> + </wsp:Policy> + </sp:X509Token> + </wsp:Policy> + </sp:RecipientToken> + <sp:AlgorithmSuite> + <wsp:Policy> + <sp:Basic256/> + </wsp:Policy> + </sp:AlgorithmSuite> + <sp:Layout> + <wsp:Policy> + <sp:Strict/> + </wsp:Policy> + </sp:Layout> + <!--sp:IncludeTimestamp/--> + <sp:OnlySignEntireHeadersAndBody/> + </wsp:Policy> + </sp:AsymmetricBinding> + <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> + <wsp:Policy> + <sp:MustSupportRefKeyIdentifier/> + <sp:MustSupportRefIssuerSerial/> + </wsp:Policy> + </sp:Wss10> + <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> + <sp:Body/> + </sp:SignedParts> + <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> + <ramp:user>alice</ramp:user> + <ramp:encryptionUser>bob</ramp:encryptionUser> + <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> + + <ramp:signatureCrypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password</ramp:property> + </ramp:crypto> + </ramp:signatureCrypto> + </ramp:RampartConfig> + </wsp:All> + </wsp:ExactlyOne> +</wsp:Policy> + </service> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-11.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-11.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-11.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-11.xml Tue Aug 4 12:09:03 2009 @@ -27,7 +27,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="SigEncrXPath" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigEncrXPath" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-12.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-12.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-12.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-12.xml Tue Aug 4 12:09:03 2009 @@ -26,7 +26,12 @@ <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> <actionMapping>urn:echo</actionMapping> </operation> - + + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + <wsp:Policy wsu:Id="policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-13.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-13.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-13.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-13.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="UTOverTransport" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="UTOverTransport" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-14.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-14.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-14.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-14.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="MutualCertificate11Sign_IPingService_policy" + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="MutualCertificate11Sign_IPingService_policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-15.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-15.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-15.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-15.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="EncrOnlySymm" + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="EncrOnlySymm" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-16.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-16.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-16.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-16.xml Tue Aug 4 12:09:03 2009 @@ -9,7 +9,12 @@ <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> <actionMapping>urn:echo</actionMapping> </operation> - + + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + <wsp:Policy wsu:Id="User defined" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsp:ExactlyOne> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-17.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-17.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-17.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-17.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="EncrSupTokens" + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="EncrSupTokens" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-18.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-18.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-18.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-18.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="EncrSupTokens" + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="EncrSupTokens" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-19.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-19.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-19.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-19.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="EndorsingEncrSupTokens" + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="EndorsingEncrSupTokens" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-2.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-2.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-2.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-2.xml Tue Aug 4 12:09:03 2009 @@ -5,72 +5,83 @@ <parameter locked="false" name="ServiceClass">org.apache.rampart.Service</parameter> - <operation name="echo"> - <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> - <actionMapping>urn:echo</actionMapping> - </operation> - - <wsp:Policy wsu:Id="SigOnly" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> - <wsp:ExactlyOne> - <wsp:All> - <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> - <wsp:Policy> - <sp:InitiatorToken> - <wsp:Policy> - <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> - <wsp:Policy> - <sp:WssX509V3Token10/> - </wsp:Policy> - </sp:X509Token> - </wsp:Policy> - </sp:InitiatorToken> - <sp:RecipientToken> - <wsp:Policy> - <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never"> - <wsp:Policy> - <sp:WssX509V3Token10/> - </wsp:Policy> - </sp:X509Token> - </wsp:Policy> - </sp:RecipientToken> - <sp:AlgorithmSuite> - <wsp:Policy> - <sp:Basic256/> - </wsp:Policy> - </sp:AlgorithmSuite> - <sp:Layout> - <wsp:Policy> - <sp:Strict/> - </wsp:Policy> - </sp:Layout> - <sp:IncludeTimestamp/> - <sp:OnlySignEntireHeadersAndBody/> - </wsp:Policy> - </sp:AsymmetricBinding> - <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> - <wsp:Policy> - <sp:MustSupportRefKeyIdentifier/> - <sp:MustSupportRefIssuerSerial/> - </wsp:Policy> - </sp:Wss10> - <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> - <sp:Body/> - </sp:SignedParts> - <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> - <ramp:user>alice</ramp:user> - <ramp:encryptionUser>bob</ramp:encryptionUser> - <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> - - <ramp:signatureCrypto> - <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> - <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> - <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks</ramp:property> - <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password</ramp:property> - </ramp:crypto> - </ramp:signatureCrypto> - </ramp:RampartConfig> - </wsp:All> - </wsp:ExactlyOne> -</wsp:Policy> + <operation name="echo"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:echo</actionMapping> + </operation> + + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigOnly" + xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:ExactlyOne> + <wsp:All> + <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> + <wsp:Policy> + <sp:InitiatorToken> + <wsp:Policy> + <sp:X509Token + sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> + <wsp:Policy> + <sp:WssX509V3Token10/> + </wsp:Policy> + </sp:X509Token> + </wsp:Policy> + </sp:InitiatorToken> + <sp:RecipientToken> + <wsp:Policy> + <sp:X509Token + sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never"> + <wsp:Policy> + <sp:WssX509V3Token10/> + </wsp:Policy> + </sp:X509Token> + </wsp:Policy> + </sp:RecipientToken> + <sp:AlgorithmSuite> + <wsp:Policy> + <sp:Basic256/> + </wsp:Policy> + </sp:AlgorithmSuite> + <sp:Layout> + <wsp:Policy> + <sp:Strict/> + </wsp:Policy> + </sp:Layout> + <sp:IncludeTimestamp/> + <sp:OnlySignEntireHeadersAndBody/> + </wsp:Policy> + </sp:AsymmetricBinding> + <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> + <wsp:Policy> + <sp:MustSupportRefKeyIdentifier/> + <sp:MustSupportRefIssuerSerial/> + </wsp:Policy> + </sp:Wss10> + <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> + <sp:Body/> + </sp:SignedParts> + <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> + <ramp:user>alice</ramp:user> + <ramp:encryptionUser>bob</ramp:encryptionUser> + <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> + + <ramp:signatureCrypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:signatureCrypto> + </ramp:RampartConfig> + </wsp:All> + </wsp:ExactlyOne> + </wsp:Policy> </service> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-20.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-20.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-20.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-20.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="SignedEndorsingEncrSupTokens" + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SignedEndorsingEncrSupTokens" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-21.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-21.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-21.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-21.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="SigOnly" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigOnly" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-22.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-22.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-22.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-22.xml Tue Aug 4 12:09:03 2009 @@ -10,6 +10,11 @@ <actionMapping>urn:echo</actionMapping> </operation> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + <wsp:Policy wsu:Id="SignedElements" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" Added: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-24.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-24.xml?rev=800742&view=auto ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-24.xml (added) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-24.xml Tue Aug 4 12:09:03 2009 @@ -0,0 +1,80 @@ +<service name="SecureService24"> + + <module ref="addressing"/> + <module ref="rampart"/> + + <parameter locked="false" name="ServiceClass">org.apache.rampart.Service</parameter> + + <operation name="echo"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:echo</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SignedEncryptedElements" + xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" + xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" + xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"> + <wsp:ExactlyOne> + <wsp:All> + <sp:SymmetricBinding> + <wsp:Policy> + <sp:ProtectionToken> + <wsp:Policy> + <sp:X509Token + sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never"> + <wsp:Policy> + <sp:RequireThumbprintReference/> + <sp:WssX509V3Token10/> + </wsp:Policy> + </sp:X509Token> + </wsp:Policy> + </sp:ProtectionToken> + <sp:AlgorithmSuite> + <wsp:Policy> + <sp:Basic256/> + </wsp:Policy> + </sp:AlgorithmSuite> + <sp:Layout> + <wsp:Policy> + <sp:Lax/> + </wsp:Policy> + </sp:Layout> + <sp:IncludeTimestamp/> + <sp:OnlySignEntireHeadersAndBody/> + </wsp:Policy> + </sp:SymmetricBinding> + <sp:SignedElements> + <sp:XPath xmlns:example1="http://example1.org/example1">//example1:Text</sp:XPath> + </sp:SignedElements> + <sp:EncryptedElements> + <sp:XPath xmlns:example1="http://example1.org/example1">//example1:Text</sp:XPath> + </sp:EncryptedElements> + <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> + <ramp:user>bob</ramp:user> + <ramp:encryptionUser>alice</ramp:encryptionUser> + <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> + + <ramp:signatureCrypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:signatureCrypto> + <ramp:encryptionCypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:encryptionCypto> + </ramp:RampartConfig> + </wsp:All> + </wsp:ExactlyOne> + </wsp:Policy> +</service> \ No newline at end of file Added: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-25.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-25.xml?rev=800742&view=auto ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-25.xml (added) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-25.xml Tue Aug 4 12:09:03 2009 @@ -0,0 +1,81 @@ +<service name="SecureService25"> + + <module ref="addressing"/> + <module ref="rampart"/> + + <parameter locked="false" name="ServiceClass">org.apache.rampart.Service</parameter> + + <operation name="echo"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:echo</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SignedEncryptedElementsEncryptBeforeSigning" + xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" + xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" + xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"> + <wsp:ExactlyOne> + <wsp:All> + <sp:SymmetricBinding> + <wsp:Policy> + <sp:ProtectionToken> + <wsp:Policy> + <sp:X509Token + sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never"> + <wsp:Policy> + <sp:RequireThumbprintReference/> + <sp:WssX509V3Token10/> + </wsp:Policy> + </sp:X509Token> + </wsp:Policy> + </sp:ProtectionToken> + <sp:AlgorithmSuite> + <wsp:Policy> + <sp:Basic256/> + </wsp:Policy> + </sp:AlgorithmSuite> + <sp:Layout> + <wsp:Policy> + <sp:Lax/> + </wsp:Policy> + </sp:Layout> + <sp:EncryptBeforeSigning/> + <sp:IncludeTimestamp/> + <sp:OnlySignEntireHeadersAndBody/> + </wsp:Policy> + </sp:SymmetricBinding> + <sp:SignedElements> + <sp:XPath xmlns:example1="http://example1.org/example1">//example1:Text</sp:XPath> + </sp:SignedElements> + <sp:EncryptedElements> + <sp:XPath xmlns:example1="http://example1.org/example1">//example1:Text</sp:XPath> + </sp:EncryptedElements> + <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> + <ramp:user>bob</ramp:user> + <ramp:encryptionUser>alice</ramp:encryptionUser> + <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> + + <ramp:signatureCrypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:signatureCrypto> + <ramp:encryptionCypto> + <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.file">rampart/store.jks + </ramp:property> + <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">password + </ramp:property> + </ramp:crypto> + </ramp:encryptionCypto> + </ramp:RampartConfig> + </wsp:All> + </wsp:ExactlyOne> + </wsp:Policy> +</service> \ No newline at end of file Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-3.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-3.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-3.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-3.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="SigEncr" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigEncr" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> @@ -60,11 +65,11 @@ <sp:Body/> </sp:EncryptedParts> - <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> + <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> <ramp:user>alice</ramp:user> <ramp:encryptionUser>bob</ramp:encryptionUser> <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> - + <ramp:signatureCrypto> <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-4.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-4.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-4.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-4.xml Tue Aug 4 12:09:03 2009 @@ -10,6 +10,11 @@ <actionMapping>urn:echo</actionMapping> </operation> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + <wsp:Policy wsu:Id="EncrSig" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-5.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-5.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-5.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-5.xml Tue Aug 4 12:09:03 2009 @@ -9,8 +9,13 @@ <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> <actionMapping>urn:echo</actionMapping> </operation> - - <wsp:Policy wsu:Id="SigEncrDK" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigEncrDK" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> @@ -62,11 +67,11 @@ <sp:Body/> </sp:EncryptedParts> - <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> + <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> <ramp:user>alice</ramp:user> <ramp:encryptionUser>bob</ramp:encryptionUser> <ramp:passwordCallbackClass>org.apache.rampart.PWCallback</ramp:passwordCallbackClass> - + <ramp:signatureCrypto> <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-6.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-6.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-6.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-6.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="SigEncrTripleDesRSA15" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigEncrTripleDesRSA15" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-7.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-7.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-7.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-7.xml Tue Aug 4 12:09:03 2009 @@ -9,7 +9,12 @@ <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> <actionMapping>urn:echo</actionMapping> </operation> - + + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + <wsp:Policy wsu:Id="SigEncrTripleDesRSA15DK" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-8.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-8.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-8.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-8.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="SigEncrTripleDesRSA15DK" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigEncrTripleDesRSA15DK" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-9.xml URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-9.xml?rev=800742&r1=800741&r2=800742&view=diff ============================================================================== --- webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-9.xml (original) +++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/services-9.xml Tue Aug 4 12:09:03 2009 @@ -10,7 +10,12 @@ <actionMapping>urn:echo</actionMapping> </operation> - <wsp:Policy wsu:Id="SigEncrTripleDesRSA15" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <operation name="returnError"> + <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> + <actionMapping>urn:returnError</actionMapping> + </operation> + + <wsp:Policy wsu:Id="SigEncrTripleDesRSA15" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsp:ExactlyOne> <wsp:All> <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> From rampartsschneider@example.com Tue Aug 04 12:14:32 2009 Return-Path: <rampartsschneider@example.com> Delivered-To: sschneider@example.com Received: (qmail 9596 invoked from network); 4 Aug 2009 12:14:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Aug 2009 12:14:32 -0000 Received: (qmail 15790 invoked by uid 500); 4 Aug 2009 12:14:36 -0000 Delivered-To: sschneider@example.com Received: (qmail 15729 invoked by uid 500); 4 Aug 2009 12:14:36 -0000 Mailing-List: contact sschneider@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:sschneider@example.com> List-Unsubscribe: <mailto:sschneider@example.com> List-Post: <mailto:sschneider@example.com> List-Id: <rampart-dev.ws.apache.org> Reply-To: sschneider@example.com Delivered-To: mailing list sschneider@example.com Received: (qmail 15718 invoked by uid 99); 4 Aug 2009 12:14:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 12:14:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 12:14:34 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id CD1BB234C045 for <sschneider@example.com>; Tue, 4 Aug 2009 05:14:14 -0700 (PDT) Message-ID: <1599517881.1249388054825.JavaMail.jira@brutus> Date: Tue, 4 Aug 2009 05:14:14 -0700 (PDT) From: "Nandana Mihindukulasooriya (JIRA)" <sschneider@example.com> To: sschneider@example.com Subject: [jira] Resolved: (RAMPART-233) Tests are required for negative scenario testing In-Reply-To: <1078531230.1247035334799.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394
{'source': 'Apache Software Foundation Public Mail Archives'}