I am new to identity systems development and I'm thinking of using claims principal and claims identity for authorization in ASP.NET MVC 3 architecture (implemented at controller level).
I can see few implementation which uses HttpContext.User.Identity
for authorization and some using IClaimsPrincipal
. From my understanding (poor) through several posts, IClaimsPrincipal
is a claim-based approach to provide HttpContext.User.Identity
context to the application level usage. What is the difference between those two approaches and which one is more effecient if I use ADFS 2.0 as an STS/FP service?