Designing claims-enabled WCF services

The WIF SDK for .NET Framework 4.0 also provides Visual Studio 2010 templates for creating the claims-enabled WCF RP service and WCF STS. In this recipe, we will look at ways of delegating identity management to a claims-based WCF STS. In addition, we will also explore out of the box bindings in WCF to support claims-based identity and look at the federation protocols supported by WIF to assign an out-of-band token to a WCF RP.

How to do it...

To design the claims-enabled WCF services, perform the following steps:

  1. Create a Visual Studio 2010 C# WCF Service Application project, and name it as ClaimsEnabledWcfService.
  2. Right-click on the project, and click on Add STS reference… to run the Federation Metadata Utility ...

Get Microsoft Windows Identity Foundation Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.