Share via


RequireActionHeaderAssertion Class

Represents a security assertion that requires the presence of the Action header for the ultimate recipient of SOAP requests sent to a Web service.

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

Usage

'Usage
Dim requireActionHeaderAssertion1 As New RequireActionHeaderAssertion()

Syntax

'Declaration
Public Class RequireActionHeaderAssertion
    Inherits RequireSoapHeaderAssertion
public class RequireActionHeaderAssertion : RequireSoapHeaderAssertion
public ref class RequireActionHeaderAssertion : RequireSoapHeaderAssertion
public class RequireActionHeaderAssertion extends RequireSoapHeaderAssertion
public class RequireActionHeaderAssertion extends RequireSoapHeaderAssertion

Remarks

Use the requireActionHeader assertion to help mitigate attacks against SOAP requests that contain the SOAPAction HTTP header, but do not include the WS-Addressing <Action> SOAP header. For more details, see the <requireActionHeader Element>.

A security assertion can be used with or without a policy file. To use the requireActionHeader assertion without a policy file, use the RequireActionHeaderAssertion class and the process specified in the How to: Secure a Web Service Without Using a Policy File topic. To use the requireActionHeader assertion with a policy file, use the <requireActionHeader Element> with the process specified in the How to: Secure a Web Service Using a Policy File topic.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Design.PolicyAssertion
     Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion
      Microsoft.Web.Services3.Design.RequireActionHeaderAssertion

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

RequireActionHeaderAssertion Members
Microsoft.Web.Services3.Design Namespace