Category Archives: WCF

ClaimsIdentity, IsAuthenticated and AuthenticationType in .NET 4.5

There is a subtle (breaking) change of behavior between WIF 1.0 and .NET 4.5. The IIdentity interface has the IsAuthenticated property. This is typically set to true whenever you deal with implementations of that interface, e.g as soon as you … Continue reading

Posted in .NET Security, ASP.NET, IdentityModel, IdentityServer, WCF, WebAPI | 15 Comments

Thinktecture.IdentityServer for .NET 4.5 CTP 1

You can get stable bits now on github. The current version supports WS-Federation, WS-Trust, OAuth2 (resource owner credential profile) and a simple HTTP endpoint. Feedback is always welcome!

Posted in .NET Security, ASP.NET, IdentityModel, IdentityServer, WCF, WebAPI | Leave a comment

Update on Thinktecture IdentityServer

It’s been quiet lately around IdSrv, and the reason is that we are actively working on it ;) But to clear up some confusion, this is the current state: The current stable versions are for .NET 4.0/WIF only. You can … Continue reading

Posted in ASP.NET, IdentityModel, IdentityServer, WCF, WebAPI | 13 Comments

WIF & .NET 4.5 Identity and Access Control Training

Just a quick update – I will run my public WIF class for the last time on the 14th/15th November in Oslo (the dates on the page are not correct anymore). After that there will be a brand new .NET … Continue reading

Posted in .NET Security, ASP.NET, Azure, Conferences & Training, IdentityModel, IdentityServer, WCF, WebAPI | 6 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 | 6 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 | 38 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