[
https://issues.apache.org/jira/browse/WSCOMMONS-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718769#action_12718769
]
Konrad K edited comment on WSCOMMONS-299 at 6/12/09 8:14 AM:
-------------------------------------------------------------
Here is a patch, which implements the intersection algorithm ...
BTW was the original intend to use equal(PolicyComponent) for intersecting?
In my opinion the Assertion interface is missing either an intersect method or
a getNestedPolicy() ...
If it had a getNestedPolicy() normalization and intersecting could be
implemented at the top level ...
was (Author: creme-fresh):
Here is a patch ...
it implements the intersection algorithm ...
but we should think about the design of the Assertion Interface.
It should not be the responsibility of an assertion to implement the normalize
method,
rather it should return its nested policy if any.
Consequently we can implement intersect and normalize correctly...
> Policy intersection is not yet implemented
> ------------------------------------------
>
> Key: WSCOMMONS-299
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-299
> Project: WS-Commons
> Issue Type: Bug
> Components: Policy
> Reporter: Tammo van Lessen
> Attachments: patch.txt
>
>
> Intersection is crucial for testing compatibility. It was already implemented
> it one of the earlier versions but got somehow lost...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.