This documentation is archived and is not being maintained.

WSFederationHttpBinding Class

A secure and interoperable binding that supports federated security.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public class WSFederationHttpBinding : WSHttpBindingBase

Federation is the ability to share identities across multiple systems for authentication and authorization. These identities can refer to users or to machines. Federated HTTP supports SOAP security as well as mixed-mode security, but it does not support exclusively using transport security. This binding provides Windows Communication Foundation (WCF) support for the WS-Federation protocol. Services configured with this binding must use the HTTP transport.

Bindings consist of a stack of binding elements. The stack of binding elements in WSFederationHttpBinding is the same as that contained in WSHttpBinding when Security is set to the default value of Message.

The WSFederationHttpBinding controls the details of the message security settings, the values of which are available from the instance of FederatedMessageSecurityOverHttp that is returned by the Message property. Note that the Security property provides get access only as the security used by the binding cannot be changed once the binding is created.

The WSFederationHttpBinding also provides a PrivacyNoticeAt property to set and retrieve the URI at which the privacy notice is located.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0