Re: ASP.NET 2.0 Authentication pattern
From: Brock Allen (ballen_at_NOSPAMdevelop.com)
Date: 06/09/05
- Next message: Steve Kallal: "Re: Use IsInRole method with Domain and Username, but without pass"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Use IsInRole method with Domain and Username, but without password"
- In reply to: Paps: "ASP.NET 2.0 Authentication pattern"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: ASP.NET 2.0 Authentication pattern"
- Reply: Dominick Baier [DevelopMentor]: "Re: ASP.NET 2.0 Authentication pattern"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 08 Jun 2005 16:07:08 -0700
> Usually my authentication pattern in 1.x was:
> ...
> - create custom IIdentity for additional user information
This is where the thinking is different in ASP.NET 2.0 (at least by default).
You need to think about authentication as a seperate "silo" of functionality
than profile data for your users. The provider architecture handles these
discrete areas and makes explicit boundaries for the functionality. Membership
Providers are for managing authentication information which is different
than the Profile Provider which is geared for user data which is different
than the Role Provider which manages role mappings. Also, for each of these
they may actually store their respective data in entirely different data
stores (SqlServer, vs. AD, vs. an XML document vs. whatever). What they all
have in common is User.Identity.Name.
So where you used to think about all of these various bits of data jammed
into one big table, now the model leans toward seperating each one of these
areas out into its own provider and backing data store. This, while different
and possibly a hassle, provides the most flexibility. Flexibility comes at
a cost.
-Brock
DevelopMentor
http://staff.develop.com/ballen
- Next message: Steve Kallal: "Re: Use IsInRole method with Domain and Username, but without pass"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Use IsInRole method with Domain and Username, but without password"
- In reply to: Paps: "ASP.NET 2.0 Authentication pattern"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: ASP.NET 2.0 Authentication pattern"
- Reply: Dominick Baier [DevelopMentor]: "Re: ASP.NET 2.0 Authentication pattern"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|