WS-Policy

WS-Policy is a specification that allows web services to use XML to advertise their policies (on security, quality of service, etc.) and for web service consumers to specify their policy requirements. WS-Policy is a W3C recommendation as of September 2007.

WS-Policy represents a set of specifications that describe the capabilities and constraints of the security (and other business) policies on intermediaries and end points (for example, required security tokens, supported encryption algorithms, and privacy rules) and how to associate policies with services and end points.

## Contents

* 1 Policy Assertion
* 2 Operator tags
* 3 Policy Intersection
* 4 Associated specifications
* 5 External links

## Policy Assertion

Assertions can either be requirements put upon a web service or an advertisement for the policies of a web service.

## Operator tags

Two "operators" (XML tags) are used to make statements about policy combinations:

* wsp:ExactlyOne \- asserts that only one child node must be satisfied.
* wsp:All \- asserts that all child nodes must be satisfied.

Logically, an empty wsp:All tag makes no assertions.

## Policy Intersection

If both provider and consumer specify a policy, an effective policy will be computed, which usually consists of the intersection of both policies. The new policy contains those assertions made by both sides which do not contradict each other. However, synonymous assertions are considered incompatible by a policy intersection. This can easily be explained by the fact that policy intersection is a syntactic approach, which does not incorporate the semantics of the assertions. Furthermore, it ignores the assertion parameters.

Opposed to what the name might suggest, a policy intersection is (although quite similar) not a set-intersection.

## Associated specifications

* WS-Policy - Attachment specifies how to add policies to WSDL and UDDI.
* WS-SecurityPolicy specifies security policy assertions for WS-Security, WS-Trust and WS-SecureConversation.
* WS-Policy4MASC specifies management policies for Web services and their compositions.

## External links

* The latest Web Services Policy - Framework recommendation at W3C
* The latest Web Services Policy - Primer introduction at W3C
* The Web Services Policy Working Group page at W3C
* WS-Policy specification

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/WS-Policy. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=WS-Policy&oldid=213394"