[ 
https://issues.apache.org/jira/browse/AXIS2-4882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Mullins updated AXIS2-4882:
---------------------------------

    Attachment: AxisBindingMessage.patch

Attached a patch with the change to AxisBindingMessage

> AxisBindingMessage effective policy calculation adds policies in incorrect 
> order
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-4882
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4882
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.6
>            Reporter: Peter Mullins
>         Attachments: AxisBindingMessage.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to