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

Daniel Kulp resolved CXF-3996.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.2
                   2.4.6
    
> 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
>             Fix For: 2.4.6, 2.5.2
>
>         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

        

Reply via email to