You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (Assigned) (JIRA)" <ji...@apache.org> on 2011/12/23 16:48:30 UTC
[jira] [Assigned] (CXF-3996) Extend POLICY_OVERRIDE property to
service IN
[ https://issues.apache.org/jira/browse/CXF-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned CXF-3996:
--------------------------------
Assignee: Daniel Kulp
> Extend POLICY_OVERRIDE property to service IN
> ---------------------------------------------
>
> Key: CXF-3996
> URL: https://issues.apache.org/jira/browse/CXF-3996
> Project: CXF
> Issue Type: Improvement
> Reporter: Andrei Shakirin
> Assignee: Daniel Kulp
> Priority: Minor
> Attachments: PolicyInInterceptor.patch
>
>
> Hi,
> PolicyConstants.POLICY_OVERRIDE constant in PolicyInInterceptor provides the possibility to dynamically override
> the policy. I would like to reuse this mechanism in custom project to dynamically apply policies calculating in ServiceRegistry.
> Solution works fine for client IN/OUT and for service OUT, but
> unfortunately doesn't work for service IN. The reason is that code in
> PolicyInInterceptor checks PolicyConstants.POLICY_OVERRIDE only after
> "if (MessageUtils.isRequestor(msg))" statement. Therefore provider IN
> messages are ignored.
> Corresponded patch is attached.
> Regards,
> Andrei.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira