You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andrei Shakirin (JIRA)" <ji...@apache.org> on 2014/08/04 16:07:12 UTC
[jira] [Assigned] (CXF-5914) Extend
AbstractPolicyProvider.getEffectivePolicy() with optional message parameter
[ https://issues.apache.org/jira/browse/CXF-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Shakirin reassigned CXF-5914:
------------------------------------
Assignee: Andrei Shakirin
> 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
> Assignee: 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)