cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Shakirin (Created) (JIRA)" <>
Subject [jira] [Created] (CXF-3996) Extend POLICY_OVERRIDE property to service IN
Date Thu, 22 Dec 2011 09:22:30 GMT
Extend POLICY_OVERRIDE property to service IN

                 Key: CXF-3996
             Project: CXF
          Issue Type: Improvement
            Reporter: Andrei Shakirin
            Priority: Minor
         Attachments: PolicyInInterceptor.patch


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.


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message