Category Archives: IdentityModel

Access Control Service: Walkthrough Videos of Web Application, SOAP, REST and Silverlight Integration

Over the weekend I worked a little more on my ACS2 sample. Instead of writing it all down, I decided to quickly record four short videos that cover the relevant features and code. Have fun ;) Part 1 – Overview … Continue reading

Posted in IdentityModel | Leave a comment

Requesting Delegation (ActAs) Tokens using WSTrustChannel (as opposed to Configuration Madness)

Delegation using the ActAs approach has some interesting security features A security token service can make authorization and validation checks before issuing the ActAs token. Combined with proof keys you get non-repudiation features. The ultimate receiver sees the original caller … Continue reading

Posted in IdentityModel | 20 Comments

Access Control Service v2: Registering Web Identities in your Applications [code]

You can download the full solution here. The relevant parts in the sample are: ConfigurationI use the standard WIF configuration with passive redirect. This kicks automatically in, whenever authorization fails in the application (e.g. when the user tries to get … Continue reading

Posted in IdentityModel | Leave a comment

Access Control Service v2: Registering Web Identities in your Applications [concepts]

ACS v2 support two fundamental types of client identities– I like to call them “enterprise identities” (WS-*) and “web identities” (Google, LiveID, OpenId in general…). I also see two different “mind sets” when it comes to application design using the … Continue reading

Posted in IdentityModel | Leave a comment

Small Gotcha when Adding ADFS as an Identity Provider in ACS v2

It turns out that ACS v2 currently supports two “types” of signing certificates for identity providers: self signed certificates certificates that chain up to a trusted root (from Microsoft’s perspective), e.g. VeriSign In other words, when you use a signing … Continue reading

Posted in IdentityModel | Leave a comment

Improving WIF’s Claims-based Authorization – Part 3 (Usage)

In the previous posts I showed off some of the additions I made to WIF’s authorization infrastructure. I now want to show some samples how I actually use these extensions. The following code snippets are from Thinktecture.IdentityServer on Codeplex. The … Continue reading

Posted in IdentityModel | Leave a comment

Improving WIF’s Claims-based Authorization – Part 2

In the last post I showed you how to take control over the invocation of ClaimsAuthorizationManager. Then you have complete freedom over the claim types, the amount of claims and the values. In addition I added two attributes that invoke … Continue reading

Posted in IdentityModel | Leave a comment

Improving WIF’s Claims-based Authorization – Part 1

As mentioned in my last post, I made several additions to WIF’s built-in authorization infrastructure to make it more flexible and easy to use. The foundation for all this work is that you have to be able to directly call … Continue reading

Posted in IdentityModel | Leave a comment

What I don’t like about WIF’s Claims-based Authorization

In my last post I wrote about what I like about WIF’s proposed approach to authorization – I also said that I definitely would build upon that infrastructure for my own systems. But implementing such a system is a little … Continue reading

Posted in IdentityModel | Leave a comment

What I like about WIF’s Claims-based Authorization

In “traditional” .NET with its IPrincipal interface and IsInRole method, developers were encouraged to write code like this: public void AddCustomer(Customer customer){    if (Thread.CurrentPrincipal.IsInRole(“Sales”))    {        // add customer    }} In code reviews I’ve seen tons of code like this. What I … Continue reading

Posted in IdentityModel | 6 Comments