PolicyAssertion Class
Represents a policy assertion.
Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim policyAssertion1 As New PolicyAssertion()
Syntax
'Declaration
MustInherit Public Class PolicyAssertion
public abstract class PolicyAssertion
public ref class PolicyAssertion abstract
public abstract class PolicyAssertion
public abstract class PolicyAssertion
Remarks
Given that most applications are secured based on the network topology in which the Web service resides, WSE 3.0 introduces a scenario-based methodology to secure communication to and from a Web service. That is, instead of piecing security together for an application using multiple low-level security operations, WSE allows you to apply security at a higher level using a prepackaged set of security operations, which are known as security assertions. For common scenarios, WSE provides a set of these security assertions that are called turnkey security assertions. Each of these Turnkey Security Assertions derive directly or indirectly from PolicyAssertion. A developer can also create a custom policy assertion that derives from PolicyAssertion or SecurityPolicyAssertion. For more information about creating a custom policy assertion, see How to: Create a Custom Policy Assertion.
The PolicyAssertion and SecurityPolicyAssertion classes are similar in that they both represent policy assertions, however they have their differences. The SecurityPolicyAssertion class, which derives from the PolicyAssertion class, is for policy assertions that specifically deal with security. For other types of policy assertions that do not apply security to a SOAP message exchange, such as a trace policy assertion, derive a class from the PolicyAssertion class.
Inheritance Hierarchy
System.Object
Microsoft.Web.Services3.Design.PolicyAssertion
Microsoft.Web.Services3.Design.AuthorizationAssertion
Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion
Microsoft.Web.Services3.Design.SecurityPolicyAssertion
Microsoft.Web.Services3.Design.UsernameOverTransportAssertion
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
PolicyAssertion Members
Microsoft.Web.Services3.Design Namespace
Other Resources
How to: Create a Custom Policy Assertion
Custom Policy Assertions
Turnkey Security Assertions