WSPolicy alternatives are not selected correctly on the server side
-------------------------------------------------------------------
Key: CXF-1411
URL: https://issues.apache.org/jira/browse/CXF-1411
Project: CXF
Issue Type: Bug
Components: WS-* Components
Affects Versions: 2.1
Reporter: Sergey Beryozkin
Fix For: 2.1
One can use WS-Policy to describe multiple policy alternatives :
<Policy>
<!-- alt1 -->
<All>
<A/>
</All>
<!-- alt2 -->
<All>
<B/>
</All>
<!-- alt3 -->
<All>
<A/>
<B/>
</All>
</Policy>
The main motivation behind using multiple alternatives is to let policy-aware
clients to select only that alternative which they understand. Thus a service
may be consumed by clients which understand <A/> only and by clients which
understand <B/> only and by those which understand both A&B.
As such, a server needs to be aware of all the assertions (A, B) available in
Multiple alternatives to satisfr requests from different types of clients.
Currently, server selects only a single alternative. For example, by selecting
Alt1 (A only) it will reject valid requests meeting B or A&B requirements
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.