Wednesday, July 20, 2011

Claims Based Authentication: SecurityTokenVisualizerControl

One useful control when developing Claims based web applications is the SecurityTokenVisualizerControl.

The Security Token Visualizer control (STVC) is a simple ASP.NET server control which displays in a compact layout useful information about claims-based identity in a web site secured with Windows Identity Foundation.
8de75977-9c90-4df4-b0c1-5daa603e3d38.png

The STVC is intended to be a debugging aid, which helps you to inspect what identity info you are receiving from the STS without the need for attaching a debugger to your website. Furthermore, STVC spares you the repetitive task of writing code that retrieves and render claim values or other info about the incoming security token that are typically needed in the development & testing phases of your application life cycle.

Only the source code is available but you can easily compile it yourself. Go check it out: http://archive.msdn.microsoft.com/TokenVisualizerCtrl.

Note: If you execute the installer without Visual Studio 2008 installed, skip the configuration wizard(it requires VS 2008).

No comments: