Monthly Archives: July 2012

Sample Video from my PluralSight course (and a free Trial)

http://blog.pluralsight.com/2012/07/13/video-creating-a-new-you-with-claims-validation-and-transformation-in-net-4-5/

Posted in Conferences & Training, IdentityModel | 2 Comments

WCF and Identity in .NET 4.5: Client Certificate Authentication

overview scenarios accessing claims windows authentication username authentication I use this configuration: <system.serviceModel>   <services>     <service name=“Common.ClaimsService“>       <endpoint address=“certificatemixed“                 binding=“netHttpBinding“                 contract=“Common.IClaimsService“ />     </service>   </services>     <bindings>     <netHttpBinding>       <binding>         <security mode=“TransportWithMessageCredential“>           … Continue reading

Posted in IdentityModel, WCF | 4 Comments

WCF and Identity in .NET 4.5: UserName/Password Authentication

overview scenarios accessing claims windows authentication I use this configuration: <system.serviceModel>     <services>       <service name=“Common.ClaimsService“>         <endpoint address=“usernamemixed“                   binding=“netHttpBinding“                   contract=“Common.IClaimsService“ />       </service>     </services>       <bindings>       <netHttpBinding>         <binding>           <security mode=“TransportWithMessageCredential“>             <message clientCredentialType=“UserName“ … Continue reading

Posted in IdentityModel, WCF | 30 Comments

WCF and Identity in .NET 4.5: Windows Authentication

overview scenarios accessing claims To host a service using integrated Windows authentication I use this configuration: <system.serviceModel>     <services>         <service name=“Common.ClaimsService“>         <endpoint address=“windowstransport“                   binding=“netHttpBinding“                   contract=“Common.IClaimsService“ />       </service>     </services>       <bindings>       <netHttpBinding> … Continue reading

Posted in IdentityModel, WCF | 3 Comments

WCF and Identity in .NET 4.5: Accessing Claims

To test the scenarios I described here, I use a simple service that echoes the user’s claims back to the client. I use the new ClaimsPrincipal.Current which is the preferred way to access to the client’s identity. This gives you … Continue reading

Posted in IdentityModel, WCF | 10 Comments

WCF and Identity in .NET 4.5: Scenarios

Over the next posts I will look at some typical authentication scenarios for WCF in detail. You all know that WCF has a plethora of different options and knobs to tweak and that is the reason why many people don’t … Continue reading

Posted in IdentityModel, WCF | 8 Comments

WCF and Identity in .NET 4.5: Overview

Since every principal is derived from ClaimsPrincipal in .NET 4.5 all the higher level frameworks simply get “claims for free” – including ASP.NET and WCF. Generally speaking there are two new settings in WCF that you care about when you … Continue reading

Posted in IdentityModel, WCF | 4 Comments

MachineKey based Session Protection for WIF

When using the session facility in WIF (e.g. in ASP.NET with the SessionAuthenticationModule), the session token must be protected somehow. By default WIF uses the Windows built-in DPAPI mechanism. While DPAPI is easy to use in single-server scenarios it has … Continue reading

Posted in ASP.NET, IdentityModel | 31 Comments