We are trying to mock federated security based authentication in one of our asp.net mvc 4 application.
Actually this web application will finally use federated security authentication, but that authentication service is far from ready and will take sometime before we can test, but we need to give a demo of web app soon. So I thought I can try to mimic/mock federated security based authentication something like having custom principal for setting up httpcontext.current.user object when we go for custom membership/authentication in asp.net. looking similar thing for federated security.
any directions will be great, any article link? just trying to get a base which i can rely upon and start myself to mock/mimic authtication in my app.
I have tried alot but all what i try goes talking about mimic/customizing other mode of authentication like forms/windows etc but for federated with asp.net mvc, i am not getting anything relevant, so forced to seek guidance if any. hope it's not bad question, finger corssed though... :-)
Edit: basically i am looking to know how to write custom claims principal (custom implementation of IClaimsPrincipal Interface) to mimic claims based authentication, where i can access claims data obtained from this in my mvc app, this is needed just until i have my real claims authentication in place, any suggestions plz?
Thanks...