Share via


KerberosAssertion.CorrelationState Class

This class is used to transfer state information between the input filters (when a message is being processed) and the output filters (when the message is being sent)

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

Usage

'Usage
Dim kerberosAssertion_CorrelationState1 As New KerberosAssertion.CorrelationState()

Syntax

'Declaration
Protected Class KerberosAssertion.CorrelationState
    Inherits SerializableTokenWrapper(Of KerberosToken)
protected class KerberosAssertion.CorrelationState : SerializableTokenWrapper<KerberosToken>
ref class KerberosAssertion::CorrelationState : SerializableTokenWrapper<KerberosToken^>
protected class KerberosAssertion.CorrelationState extends SerializableTokenWrapper<KerberosToken>
JScript does not support Generics.

Remarks

All assertions store data in the CorrelationState, and this particular assertion stores the KerberosToken used to secure the message in this state. On the client, the KerberosAssertion.ClientOutputFilter stores the KerberosToken in an instance of this class, that is then stored in the Web Service Client's OperationState. When a message is received, the KerberosAssertion.ClientOutputFilter processes this message to make sure that the incoming response was secured with the same KerberosToken as the request. In order to ensure this, it compares the KerberosToken that secured the incoming response with the KerberosToken that was stored in the CorrelationState, within the OperationState. This class inherits from a SerializableTokenWrapper which means that this class can be serialized or deserialized to and from XML. Serializing this class to XML also serializes the KerberosToken that is configured within this class.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Security.SerializableTokenWrapper
    Microsoft.Web.Services3.Design.KerberosAssertion.CorrelationState

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

KerberosAssertion.CorrelationState Members
Microsoft.Web.Services3.Design Namespace