Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4882

AxisBindingMessage effective policy calculation adds policies in incorrect order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • None
    • kernel
    • None

    Description

      In the calculateEffectivePolicy method in AxisBindingMessage, PolicyComponents are added in order from the most specific to the most general. This means that when they are combined by iterating over the list (e.g. for use by Rampart in RampartPolicyBuilder), service-wide policies will always override message-level ones. This order should be reversed, so that when the policies are processed in order, more specific policies will override more general ones.

      Attachments

        1. AxisBindingMessage.patch
          4 kB
          Peter Mullins

        Activity

          People

            Unassigned Unassigned
            peter839 Peter Mullins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: