Uploaded image for project: 'Rampart'
  1. Rampart
  2. 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 .

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.5.1
    • None
    • Windows XP service pack2, Axis2 1.5.4, Rampart 1.5.1, jdk 1.5_06, Apache Tomcat 5.5.17

    Description

      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.

      Attachments

        1. services.xml
          8 kB
          Abhinav Mishra
        2. service.jks
          2 kB
          Abhinav Mishra
        3. RequestResponseLog.txt
          9 kB
          Abhinav Mishra
        4. PWCBHandler.java
          0.9 kB
          Abhinav Mishra
        5. policy.xml
          8 kB
          Abhinav Mishra
        6. Multiplication9.java
          0.1 kB
          Abhinav Mishra
        7. Multiplication9.aar
          6 kB
          Abhinav Mishra
        8. client.jks
          2 kB
          Abhinav Mishra
        9. Client.java
          2 kB
          Abhinav Mishra

        Activity

          People

            Unassigned Unassigned
            abhinavmishra Abhinav Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 672h
                672h
                Remaining:
                Remaining Estimate - 672h
                672h
                Logged:
                Time Spent - Not Specified
                Not Specified