Share via


SecurityTokenServiceClient.EnforceRequestConfidentiality Method

Generates and encrypts the requestor's entropy value.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Public Class securityTokenServiceClientImplementation
    Inherits SecurityTokenServiceClient
        Protected Overrides Sub EnforceRequestConfidentiality(request As SecurityTokenMessage)
            MyBase.EnforceRequestConfidentiality(request)
        End Sub
End Class

Syntax

'Declaration
Protected Overridable Sub EnforceRequestConfidentiality( _
    ByVal request As SecurityTokenMessage _
)
protected virtual void EnforceRequestConfidentiality(
    SecurityTokenMessage request
);
protected: Void EnforceRequestConfidentiality(
    SecurityTokenMessage^ request
);
protected void EnforceRequestConfidentiality(
    SecurityTokenMessage request
);
protected function EnforceRequestConfidentiality(
     request : SecurityTokenMessage
);

Parameters

  • request
    A SecurityTokenMessage that represents the request being made to the security token service.

Exceptions

Exception type Condition
System.ArgumentNullException

request is null.

Remarks

The entropy value is encrypted using the RequestEntropyEncryptingToken property. If the RequestEntropyEncryptingToken property is null, the entropy value is not encrypted.

The EnforceRequestConfidentiality method is called by the EnforceRequestPolicy method.

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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SecurityTokenServiceClient Class
Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityTokenServiceClient Members