Monthly Archives: November 2008

UserName Supporting Token & WCF revisited (this time with Geneva)

A while back I wrote about UserName supporting tokens in WCF and how they can be handy to create light-weight “delegation” scenarios for middle-tiers. I wanted to give the same scenario a try with a Geneva enabled relying party. First … Continue reading

Posted in IdentityModel, WCF | Leave a comment

(SAML) Token Creation in a Geneva STS

By default, Geneva STS developers are quite shielded from the SAML creation process – you simply derive from SecurityTokenService and implement GetScope and GetOutputClaimsIdentity, and the rest gets done by the framework. But if you need more control over the … Continue reading

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

Geneva HTTP Modules: ClaimsPrincipalHttpModule

Geneva ships with three HTTP modules to use with ASP.NET: ClaimsPrincipalHttpModule, SessionAuthenticationModule and WSFederationAuthenticationModule. What are they for – and when to chose which? In this post I will focus on the simplest one of the three: ClaimsPrincipalHttpModule – in … Continue reading

Posted in ASP.NET, IdentityModel | Leave a comment

ClaimsAuthenticationManager in Geneva

One of the things that Zermatt was lacking was a uniform way to look at incoming claims (either from an STS or from auto-converted authentication information). In Geneva we now have a piece of plumbing called the ClaimsAuthenticationManager which gets … Continue reading

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

Username/Password Validation with Geneva

In my previous post I mentioned that Geneva takes over parts of the WCF security system – I used the example of certificate validation. This is also true for username/password authentication. In the case you have an existing service with … Continue reading

Posted in IdentityModel, WCF | Leave a comment

Code Contracts in .NET 4

A really interesting feature in .NET 4 will be Code Contracts. They allow defining pre- and post-conditions in code along with some other more advanced options. See the PDC video here – and  more here.

Posted in Uncategorized | Leave a comment