Top "Iprincipal" questions

The System.

SerializationException on 'CustomIdentity' when user is denied in ASP.NET

I try to implement ASP.NET Authentication and Authorization on top of our existing database. We have a website calling …

serialization asp.net-membership iprincipal iidentity access-denied
WebApi ActionFilterAttribute, HttpActionContext access user name (IPrincipal)

I need to access the currently logged in user in my action filter. The identity is set by a DelegatingHandler …

authentication asp.net-web-api actionfilterattribute iprincipal
Set User property for an ApiController in Unit Test

My unit tests for an ApiController uses some helpers methods to instantiate the controller: public static ResourcesController SetupResourcesController(HttpRequestMessage request, …

c# asp.net-web-api iprincipal
asp.net extending IPrincipal

I would like to extend IPrincipal in asp.net to allow me to get the usertype that I will define. …

c# inheritance interface iprincipal
ASP.NET MVC custom IPrincipal injection

I'm working on an application using ASP.NET MVC 1.0 and I'm trying to inject a custom IPrincipal object in to …

asp.net-mvc iprincipal
Implementing IPrincipal and IIdentity in MVC with use of custom membership and role provider

I'm stuck with the implementation of a custom iprincpal and iidentity object. I spend a day now for searching how …

c# model-view-controller iprincipal iidentity
Custom IPrincipal with Forms Authentication in ASP.NET MVC

This should be simple, but I simply cannot figure it out after all my googling. Here's what I want. I …

c# asp.net-mvc authorization iprincipal