Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 27301 invoked from network); 4 Mar 2011 18:07:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 18:07:58 -0000 Received: (qmail 15016 invoked by uid 500); 4 Mar 2011 18:07:58 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 14848 invoked by uid 500); 4 Mar 2011 18:07:57 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 14840 invoked by uid 99); 4 Mar 2011 18:07:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 18:07:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 18:07:57 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 21A714FE7F for ; Fri, 4 Mar 2011 18:07:37 +0000 (UTC) Date: Fri, 4 Mar 2011 18:07:37 +0000 (UTC) From: "Amila Jayasekara (JIRA)" To: java-dev@axis.apache.org Message-ID: <1709406217.14764.1299262057133.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1886667605.10908.1299164622525.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (RAMPART-328) In single service policy if I use two asymmetric binding two apply encryption algorithm for each parameter of a method like multiply multiply(int a, int b) then only single algorithm is applied . MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RAMPART-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002751#comment-13002751 ] Amila Jayasekara commented on RAMPART-328: ------------------------------------------ Hi Abhinav, I am bit curious to know, whether this scenarios comply with WS-I (Web Service Interoperable) specifications. Could you please let us know whether this scenario complies with WS-I specification ? Thanks AmilaJ > In single service policy if I use two asymmetric binding two apply encryption algorithm for each parameter of a method like multiply multiply(int a, int b) then only single algorithm is applied . > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: RAMPART-328 > URL: https://issues.apache.org/jira/browse/RAMPART-328 > Project: Rampart > Issue Type: Bug > Components: rampart-core, rampart-policy > Affects Versions: 1.5.1 > Environment: Windows XP service pack2, Axis2 1.5.4, Rampart 1.5.1, jdk 1.5_06, Apache Tomcat 5.5.17 > Reporter: Abhinav Mishra > Labels: security > Fix For: 1.5.1 > > Attachments: Client.java, Multiplication9.aar, Multiplication9.java, PWCBHandler.java, RequestResponseLog.txt, client.jks, policy.xml, service.jks, services.xml > > Original Estimate: 672h > Remaining Estimate: 672h > > I want to encrypt each parameter of a method of a service by different algorithm. > Like, > if method is: > multiplication(int a,int b) > then > parameter a by TripleDES > parameter b by AES256 > for this I defined two asymmetric binding assertions in my services.xml and policy.xml defining algorithmsuite as Basic256 and TripleDesRas15 in those two asymmetric binding assertions respectively. > > But when i run my client only one algorithm is applied over both the parameters for eg. only aes 256 is applied for both a and b which I don,t want. > So, can anybody suggest me a solution for this problem so that I can encrypt each parameter by using different algorithm. > Here I am attaching my Client Code(client.java ), Service code(Multiplication9.java) and server side policy(services.xml) and client side policy (policy.xml), keystore for client and service. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org