SecurityPolicyAssertion Class

Represents a policy assertion that applies security to a SOAP message exchange.

Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim securityPolicyAssertion1 As New SecurityPolicyAssertion()

Syntax

'Declaration
MustInherit Public Class SecurityPolicyAssertion
    Inherits PolicyAssertion
public abstract class SecurityPolicyAssertion : PolicyAssertion
public ref class SecurityPolicyAssertion abstract : PolicyAssertion
public abstract class SecurityPolicyAssertion extends PolicyAssertion
public abstract class SecurityPolicyAssertion extends 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 details 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.SecurityPolicyAssertion
       Microsoft.Web.Services3.Design.AnonymousForCertificateAssertion
       Microsoft.Web.Services3.Design.KerberosAssertion
       Microsoft.Web.Services3.Design.MutualCertificate10Assertion
       Microsoft.Web.Services3.Design.MutualCertificate11Assertion
       Microsoft.Web.Services3.Design.UsernameForCertificateAssertion

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

SecurityPolicyAssertion Members
Microsoft.Web.Services3.Design Namespace

Other Resources

How to: Create a Custom Policy Assertion
Custom Policy Assertions
Turnkey Security Assertions