Return-Path: Delivered-To: apmail-ws-rampart-dev-archive@locus.apache.org Received: (qmail 12994 invoked from network); 1 Oct 2008 11:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 11:54:07 -0000 Received: (qmail 10213 invoked by uid 500); 1 Oct 2008 11:54:05 -0000 Delivered-To: apmail-ws-rampart-dev-archive@ws.apache.org Received: (qmail 10181 invoked by uid 500); 1 Oct 2008 11:54:05 -0000 Mailing-List: contact rampart-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: rampart-dev@ws.apache.org Delivered-To: mailing list rampart-dev@ws.apache.org Received: (qmail 10170 invoked by uid 99); 1 Oct 2008 11:54:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 04:54:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 11:53:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5299D234C1FA for ; Wed, 1 Oct 2008 04:53:46 -0700 (PDT) Message-ID: <2140014663.1222862026337.JavaMail.jira@brutus> Date: Wed, 1 Oct 2008 04:53:46 -0700 (PDT) From: "Nandana Mihindukulasooriya (JIRA)" To: rampart-dev@ws.apache.org Subject: [jira] Assigned: (RAMPART-186) Password call back not copied over when the call back is set via a parameter to the axis Service (Secure conversation) In-Reply-To: <671247896.1216099892890.JavaMail.jira@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 [ https://issues.apache.org/jira/browse/RAMPART-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandana Mihindukulasooriya reassigned RAMPART-186: -------------------------------------------------- Assignee: Nandana Mihindukulasooriya (was: Ruchith Udayanga Fernando) > Password call back not copied over when the call back is set via a parameter to the axis Service (Secure conversation) > ---------------------------------------------------------------------------------------------------------------------- > > Key: RAMPART-186 > URL: https://issues.apache.org/jira/browse/RAMPART-186 > Project: Rampart > Issue Type: Bug > Reporter: Keith Godwin Chapman > Assignee: Nandana Mihindukulasooriya > > I'm implementing security scenarios in the WSO2 Mashup Server (This will allow users to access secure services using JavaScript). > I set the password call back on the client as follows, > axisService.addParameter(WSHandlerConstants.PW_CALLBACK_REF, new PasswordCallbackHandler(authorName)); > But unfortunatly rampart does not copy this over when making the request to obtain the token. > Caused by: org.apache.rampart.RampartException: Password CallbackHandler not specified in rampart configuration policy or the CallbackHandler instance not available in the MessageContext > at org.apache.rampart.builder.BindingBuilder.getSignatureBuider(BindingBuilder.java:266) > at org.apache.rampart.builder.AsymmetricBindingBuilder.doSignature(AsymmetricBindingBuilder.java:626) > at org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:413) > at org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:93) > at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147) > at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.