Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 75386 invoked from network); 28 Oct 2006 05:46:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2006 05:46:27 -0000 Received: (qmail 68033 invoked by uid 500); 28 Oct 2006 05:46:35 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 67982 invoked by uid 500); 28 Oct 2006 05:46:35 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 67971 invoked by uid 99); 28 Oct 2006 05:46:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2006 22:46:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2006 22:46:21 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 15E307142DB for ; Fri, 27 Oct 2006 22:45:17 -0700 (PDT) Message-ID: <29842770.1162014317080.JavaMail.root@brutus> Date: Fri, 27 Oct 2006 22:45:17 -0700 (PDT) From: "Ruchith Udayanga Fernando (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-1535) Some of Rampart samples throws exception In-Reply-To: <20769203.1161981136848.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/AXIS2-1535?page=all ] Ruchith Udayanga Fernando resolved AXIS2-1535. ---------------------------------------------- Resolution: Fixed Thanks for the patch ... I realized that I had made a mistake by adding authentication logic into the service. This is because the authentication happens at the callback handler. Please see : org.apache.rampart.samples.sample03.PWCBHandler Note the pwcb.getUsage() == WSPasswordCallback.USERNAME_TOKEN_UNKNOWN case. I removed the extra auth logic from the service and add your changes to the README.txt > Some of Rampart samples throws exception > ---------------------------------------- > > Key: AXIS2-1535 > URL: http://issues.apache.org/jira/browse/AXIS2-1535 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: samples > Affects Versions: 1.1 > Environment: WinXP Professional, JRE 1.5.0_01, Axis2 1.1 SVN (rev: 468353) > Reporter: Ali Sadik Kumlali > Priority: Minor > Attachments: samples_security_patch.txt > > > I ran across some problems while running Basic samples of Rampart and will attach a patch to get rid of them. > Details > ---------- > 1) SimpleService of sample03 still uses setOperationContext() which is not supported anymore due to [1]. > 2) xalan-2.7.0.jar is needed for sample04 (and *maybe* for subsequent samples), if JDK 1.5 is used. > [1] http://issues.apache.org/jira/browse/AXIS2-1224 > Regards, > Ali Sadik Kumlali -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org