Partager via


UsernameForCertificateAssertion.ServiceInputFilter.ValidateMessageSecurity Method (SoapEnvelope, Security, MessageProtectionRequirements)

Validates incoming SOAP messages on the Web service to see if they conform to the security requirements as specified by the usernameForCertificate assertion.

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

Usage

'Usage
Dim envelope As SoapEnvelope
Dim security As Security
Dim request As MessageProtectionRequirements
Dim usernameForCertificateAssertion_ServiceInputFilter1 As UsernameForCertificateAssertion.ServiceInputFilter
usernameForCertificateAssertion_ServiceInputFilter1.ValidateMessageSecurity(envelope, security, request)

Syntax

'Declaration
Overloads Public Overrides Sub ValidateMessageSecurity( _
    ByVal envelope As SoapEnvelope, _
    ByVal security As Security, _
    ByVal request As MessageProtectionRequirements _
)
public override void ValidateMessageSecurity(
    SoapEnvelope envelope, 
    Security security, 
    MessageProtectionRequirements request
);
public:
virtual void ValidateMessageSecurity(
    SoapEnvelope^ envelope,
    Security^ security,
    MessageProtectionRequirements^ request
) override;
public override void ValidateMessageSecurity(
    SoapEnvelope envelope, 
    Security security, 
    MessageProtectionRequirements request
);
public override function ValidateMessageSecurity(
     envelope : SoapEnvelope, 
     security : Security, 
     request : MessageProtectionRequirements
) : Void;

Parameters

  • envelope
    Represents the SOAP request.
  • security
    The security header that represents the SOAP request.
  • request
    The protection requirements for a SOAP request.

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

UsernameForCertificateAssertion.ServiceInputFilter Class
UsernameForCertificateAssertion.ServiceInputFilter Members
Microsoft.Web.Services3.Design Namespace