Conflict resolution when identical policies are attached to a single policy subject
First Claim
1. A method comprising:
- receiving, at a computer system, a first policy attachment metadata file attaching a first web service policy to a policy subject at run-time;
receiving, at the computer system, a second policy attachment metadata file attaching a second policy to the policy subject at design-time;
determining, by the computer system, whether the first web service policy attached to the policy subject via the first policy attachment metadata file is identical to the second web service policy attached to the policy subject via the second policy attachment metadata file based on one or more predefined rules related to policy configuration properties when having the first web service policy attached to the policy subject at run-time conflicts with having the second web service policy attached to the policy subject at design-time; and
generating, by the computer system, information causing the first web service policy attached via the first policy attachment metadata file or the second web service policy attached via the second policy attachment metadata file to be selectively enforced at the policy subject based on a determination that the first web service policy and the second web service policy are identical and that having the first web service policy attached to the policy subject at run-time conflicts with having the second web service policy attached to the policy subject at design-time.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for resolving conflicts between web service policies that are attached (via LPA and/or GPA metadata) to a single policy subject (e.g., a WS client/service endpoint). In one set of embodiments, a determination can be made whether two conflicting policies that are attached to a single policy subject are identical. This determination can be based on, e.g., a Uniform Resource Identifier (URI) that is used to identify the policies in their respective policy attachment metadata files, as well as any policy configuration properties. If the two conflicting policies are determined to be identical, the policy attachment metadata for one of the policies can be considered valid, while the policy attachment metadata for the other, duplicate policy can be ignored. In this manner, validation errors arising from duplicate policy attachments can be avoided.
192 Citations
18 Claims
-
1. A method comprising:
-
receiving, at a computer system, a first policy attachment metadata file attaching a first web service policy to a policy subject at run-time; receiving, at the computer system, a second policy attachment metadata file attaching a second policy to the policy subject at design-time; determining, by the computer system, whether the first web service policy attached to the policy subject via the first policy attachment metadata file is identical to the second web service policy attached to the policy subject via the second policy attachment metadata file based on one or more predefined rules related to policy configuration properties when having the first web service policy attached to the policy subject at run-time conflicts with having the second web service policy attached to the policy subject at design-time; and generating, by the computer system, information causing the first web service policy attached via the first policy attachment metadata file or the second web service policy attached via the second policy attachment metadata file to be selectively enforced at the policy subject based on a determination that the first web service policy and the second web service policy are identical and that having the first web service policy attached to the policy subject at run-time conflicts with having the second web service policy attached to the policy subject at design-time. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable medium having stored thereon program code executable by a computer system, the non-transitory computer-readable medium comprising:
-
program code that causes the computer system to receive a first policy attachment metadata file attaching a first web service policy to a policy subject at run-time; program code that causes the computer system to receive a second policy attachment metadata file attaching a second policy to the policy subject at design-time; program code that causes the computer system to determine whether the first web service policy attached to the policy subject via the first policy attachment metadata file is identical to the second web service policy attached to the policy subject via the second policy attachment metadata file based on one or more predefined rules related to policy configuration properties when having the first web service policy attached to the policy subject at run-time conflicts with having the second web service policy attached to the policy subject at design-time; and program code that causes the computer system to generate information causing the first web service policy attached via the first policy attachment metadata file or the second web service policy attached via the second policy attachment metadata file to be selectively enforced at the policy subject based on a determination that the first web service policy and the second web service policy are identical and that having the first web service policy attached to the policy subject at run-time conflicts with having the second web service policy attached to the policy subject at design-time. - View Dependent Claims (14, 15)
-
-
16. A system comprising:
a hardware processor configured to; receive a first policy attachment metadata file attaching a first web service policy to a policy subject at run-time; receive a second policy attachment metadata file attaching a second policy to the policy subject at design-time; determine whether the first web service policy attached to the policy subject via the first policy attachment metadata file is identical to the second web service policy attached to the policy subject via the second policy attachment metadata file based on one or more predefined rules related to policy configuration properties when having the first web service policy attached to the policy subject at run-time conflicts with having the second web service policy attached to the policy subject at design-time; and generate information causing the first web service policy attached via the first policy attachment metadata file or the second web service policy attached via the second policy attachment metadata file to be selectively enforced at the policy subject based on a determination that the first web service policy and the second web service policy are identical and that having the first web service policy attached to the policy subject at run-time conflicts with having the second web service policy attached to the policy subject at design-time. - View Dependent Claims (17, 18)
Specification