Re: [ADVANCED-DOTNET] IPrincipal and IIdentity

2007-12-10 Thread Miika Mäkinen
Right... That clears it quite a lot for me. I guess I've just never done an app where separating these would make sense (e.g. never used Windows Integrated Authentication). For a typical username/password login I don't see too much use for separating these. I was actually thinking that I might mak

Re: [ADVANCED-DOTNET] IPrincipal and IIdentity

2007-12-10 Thread Marc Brooks
Simply put, IIdentity is WHO you are... IPrincipal is what you can do... You can be identified as someone without having any particular role in an application... think about a Intranet application where you are automatically logged in via Windows Integrated Authentication. In this case, you have a

[ADVANCED-DOTNET] IPrincipal and IIdentity

2007-12-10 Thread Miika Mäkinen
Hi all, I'm having hard time understanding what is the purpose of IPrincipal and IIdentity. Why are these 2 separate interfaces? To me it just complicates matters... Does anybody know of a good article explaining... Cheers, Miika === This list is hosted by Develop