Category Archives: IdentityModel

Try "Zermatt" and give Feedback

The last week I spent some time exploring parts of the “Zermatt” framework – some things are really cool – some I have mixed feelings about. The team is still in a quite early stage where design decisions and directions … Continue reading

Posted in IdentityModel | Leave a comment

Skiing in "Zermatt"

Today, Microsoft finally announced the first public version of their .NET identity framework code named “Zermatt”. The most important things you get from this framework are: APIs for the token/claims related heavy crypto lifting Supporting classes for claims aware applications … Continue reading

Posted in IdentityModel | Leave a comment

Using IdentityModel: Useful Extension Methods for Serializing Claim Sets

As a follow up to my last post – the following extension methods make it easy to manually serialize claim sets: public static XElement Serialize(  this ClaimSet set, IEnumerable<Type> knownTypes){    DataContractSerializer dcs = new DataContractSerializer(        set.GetType(),        knownTypes,        int.MaxValue,        false,        true,        … Continue reading

Posted in IdentityModel | Leave a comment

Using IdentityModel: Serializing Claim Sets

Both Claim and ClaimSet are decorated with DataContract/DataMember attributes. This means they are made for serialization. And this makes sense – maybe you want to forward a claim set (server to server) or send a claim set from server to … Continue reading

Posted in IdentityModel | Leave a comment

Software Architect 2008

Thanks to everyone who attended my IdentityModel talk at Software Architect. You can have all the code I showed you during my talk – just send me a private message or leave a comment. Most of the demos are online … Continue reading

Posted in IdentityModel | Leave a comment

OpenID Phishing Demo

Funny and educational: http://idtheft.fun.de/

Posted in IdentityModel | Leave a comment

Using IdentityModel: Tracing

While reading through some of the code of System.IdentityModel, I noticed that there is some diagnostics tracing going on. Just add a trace listener for the source ‘System.IdentityModel’ to your config file. HTH

Posted in IdentityModel, WCF | Leave a comment

Using IdentityModel: Converting ADFS Security Properties to Claims

This little helper might be useful when you are working with ADFS, but want to use the IdentityModel types in your app: public static ClaimSet ToClaimSet(this SingleSignOnIdentity identity){    List<Claim> claims = new List<Claim>();     claims.Add(new Claim(identity.NameType, identity.Name, Rights.Identity));     foreach … Continue reading

Posted in IdentityModel | Leave a comment

InfoCardSelector is now on Codeplex

I finally found a new home for my ASP.NET InfoCard control: http://www.codeplex.com/InfoCardSelector If you feel like contributing or suggesting new features, you can contact me via this page.

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

Using Information Cards in ASMX Web Services

As I wrote here – an Information Card token is just a string. This means that (with the help of some extra plumbing) you can seamlessly integrate cards into “legacy” technologies. Here’s a sample walkthrough for ASMX web services. To … Continue reading

Posted in ASP.NET, IdentityModel | Leave a comment