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

Andrei Shakirin resolved CXF-5914.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.0

> Extend AbstractPolicyProvider.getEffectivePolicy() with optional message 
> parameter
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-5914
>                 URL: https://issues.apache.org/jira/browse/CXF-5914
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-WS Runtime
>            Reporter: Andrei Shakirin
>             Fix For: 3.1.0
>
>
> Currently AbstractPolicyProvider.getEffectivePolicy() accepts only Service 
> Model related params: BindingMessageInfo, BindingOperationInfo, etc.
> I have some use cases where this information is not enough to decide which 
> policy should be selected. For example if user makes a difference between 
> client and service policies, no chance to decide which one have to be used.
> The client and service policies make sense if service supports some options 
> as policy alternatives (for example UT and SAML) and different clients use 
> exactly one.
> Proposal: extend AbstractPolicyProvider.getEffectivePolicy() with optional 
> message parameter. If parameter is available (for example from 
> EffectivePolicyImpl), it can be used to make precise decision regarding 
> policies.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to