axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Mullins (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4882) AxisBindingMessage effective policy calculation adds policies in incorrect order
Date Mon, 15 Nov 2010 22:22:14 GMT

     [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message