Andrei Shakirin created CXF-5914:
------------------------------------
Summary: 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
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)