iprincipal Questions

3

Solved

I have a basic MVC 2 beta app where I am trying to implement a custom Identity and Principal classes. I have created my classes that implement the IIdentity and IPrincipal interfaces, instantiated...
Godmother asked 10/12, 2009 at 21:6

1

Solved

I have an application that relies heavily on authorization of users. Within it, I am using IPrincipal.IsInRole() to check whether users are in the correct groups: IPrincipal principal = Thread.Cur...
Tedmann asked 23/9, 2010 at 9:44

4

Solved

I would like to extend IPrincipal in asp.net to allow me to get the usertype that I will define. I would like to make it possible to do this in a controller string type = User.UserType then in ...
Disc asked 9/7, 2010 at 16:14

2

Solved

I was wondering how I could bind the IPrincipal to HttpContext.Current.User in Asp.net Mvc with Ninject. Friendly greetings, Pickels Edit: Not sure if it matters but I use my own CustomPrincipa...
Upstretched asked 28/4, 2010 at 15:53

2

Solved

Well, I think the title is clear enough.
Cheriecherilyn asked 3/12, 2009 at 22:4

2

Solved

I'm working on an application using ASP.NET MVC 1.0 and I'm trying to inject a custom IPrincipal object in to the HttpContext.Current.User object. With a traditional WebForms application I've use...
Deathless asked 12/10, 2009 at 15:7

2

Solved

I just wanna ask what would be better approach to supply these objects in my unit tests. In my unit test I am testing CSLA object. CSLA object is internally using one property and one method of Ap...
Arboreal asked 2/10, 2008 at 14:19

© 2022 - 2024 — McMap. All rights reserved.