Negotiating SAML tokens for REST clients with the HttpClient class

Posted by: Pablo M. Cibraro (aka Cibrax), on 18 Mar 2009 | View original | Bookmarked: 0 time(s)

Continuing my post Brokered authentication for REST active clients, I will show today how the client code can be simplified using the new HttpClient (WCF REST Starter kit 2) and some custom http processing stages attached to its pipeline. The first thing we have to do is to implement a custom processing stage (a class that derives from HttpStage) to centralize all the logic needed to negotiate a SAML token from an existing STS. The pipeline contains basically two kinds of stage, a regular http stage...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1015 | Hits: 32

Similar Posts

  • Kobe - Oh Dear Lord Why?! more
  • Outside my element: A CSS Trick more
  • Client Templating with jQuery more
  • Change to RestClassAttribute and RestMethodAttribute more
  • Announcing Lullaby more
  • Introducing Lullaby more
  • REST to collection builder using LINQ to XML more
  • Mental note - IE and table row (TR) styles more
  • How to add a custom configuration section more
  • Random numbers in JavaScript more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD