- 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 now a W3C recommendation since 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.
Policy Assertion
Assertions can either be requirements put upon a web service or an advertisement of 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
The policy intersection is a
semantic (as opposed tosyntactic ) intersection of two policies. The intersection is a new policy that complies with both their requirements/capabilities - or, if the policies are incompatible, this is discovered by both parties.External links
*The latest [http://www.w3.org/TR/ws-policy/ Web Services Policy 1.5 - Framework] recommendation at W3C
*The latest [http://www.w3.org/TR/ws-policy-primer/ Web Services Policy 1.5 - Primer] note (an introduction) at W3C
*The [http://www.w3.org/2002/ws/policy/ Web Services Policy Working Group] page at W3C
* [http://schemas.xmlsoap.org/ws/2004/09/policy WS-Policy specification]
* [http://www.ibm.com/developerworks/webservices/library/specification/ws-polfram/?S_TACT=105AGX04&S_CMP=LP IBM Developerworks WS-Policy page]ee also
WS-PolicyAttachment WS-PolicyAssertions WS-Policy_Framework
Wikimedia Foundation. 2010.