Tips, tricks and other animals

SAML 2.0 tokens and WIF – bridging the divide

Background We all know the following limitations about Windows Identity Foundation (WIF) and passive...

Author: MonkeyTennis Date: 10/28/2012

Access to an ASP.NET website via multiple authentications

Background Is it possible to secure a website using Windows Identity Foundation (WIF) without...

Author: MonkeyTennis Date: 10/23/2012

ADFS/C2WTS identity impersonation failure after an IIS reset

My team recently encountered an issue at a Relying Party website where identity impersonation in...

Author: MonkeyTennis Date: 03/27/2012

Claims to Windows Token Service keeps entering disabled state

On a recent project I was tasked with securing an ASP.NET MVC site using ADFS. There was also a...

Author: MonkeyTennis Date: 02/24/2012

Write a custom security token and handler in Windows Identity Foundation

In this article I will demonstrate how to write a token handler for a custom token in Windows...

Author: MonkeyTennis Date: 12/14/2011

Handling optional claims with the ADFS Claims Rule Language

It is a perfectly normal scenario for claims to be optional in a token. For example, a SAML...

Author: MonkeyTennis Date: 12/14/2011

Mutual authentication with a IIS hosted WCF data service installed in a workgroup environment

This post covers the steps required to secure communication between a WCF client and a WCF data...

Author: MonkeyTennis Date: 12/14/2011

Windows Azure toolkit for Windows Phone 7

Hi all I am having great fun playing with this toolkit to see how WP7 apps can be properly secured...

Author: MonkeyTennis Date: 10/25/2011

A quiz question

Using the IXmlSerializable interface, create a class that will serialize XML to be exactly the same...

Author: MonkeyTennis Date: 11/11/2010

The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM'

In the course of enabling WCF services using Windows authentication, you may have hit this error. A...

Author: MonkeyTennis Date: 10/11/2010

SQL Agent truncation error

Keep an eye out for this one if you have SQL jobs with particularly long step names (approaching 128...

Author: MonkeyTennis Date: 09/22/2010

Problem uninstalling database during ADFS v2 backout

In a recent ADFS deployment to Windows 2008R2 we accidentally deleted the ADFS NT service account...

Author: MonkeyTennis Date: 09/22/2010

Debugging the .NET framework source code

Ever wanted to debug the .NET Framework itself? Here's how:...

Author: MonkeyTennis Date: 09/22/2010

U-Prove

I have been doing some proof of concept work of late on privacy and minimal information disclosure...

Author: MonkeyTennis Date: 09/22/2010

Windows Identity Foundation 101's

Hi I am in the process of creating a series of 101's for Windows Identity Foundation and ADFS 2....

Author: MonkeyTennis Date: 09/22/2010