Re: ASP.NET 2.0 Multiple Membership Providers for Authentication



Well, the provider infrastructure was designed to only work with one at a time. If you need something else, then you're going to have to write code to do that. You could build a custom provider that accepted configuration information such that it dynamically delegated to other providers (as opposed to hard coding which ones to use).

-Brock
DevelopMentor
http://staff.develop.com/ballen

Hi,

You could always write your own provider and delegate to the right
one, as necessary.

thanks, however this is not quite the way we would like to go, as the
backend should be reusable with different front end. It wouldn't make
things easier to maintain a multitude of different interface adapters
for different customer solutions.

Thanks though,
Daniel


.



Relevant Pages

  • Custom membership provider in partial trust mode
    ... I also created a simple Website using Visual Studio 2005 and configured the Web.config to use this custom provider that I have written. ... I could use the ASP.NET configuration tool and use the custom provider to add users and view user details. ... I want to run this provider in the partial trust environment since MOSS 2007 runs in Minimal trust mode. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Forms Authentication
    ... commerceserver profile provider for authentication. ... custom provider takes email and password to authenticate and adding ... I have a custom aspx page with registration control that registers a ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Why do I get "name LocalSqlServer was not found" when my app uses MySQL?
    ... you can clear the connection strings: ... clear the default provider and specify a custom provider: ... for sample access code to MySql using ASP.NET 2.0. ... If you're using MySQL as your database platform as a custom Provider, ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: web parts and a database
    ... sqlserver instance or SQLEXPRESS engine. ... as provider based, it's flexible to create custom provider and use custom ... mentioned creating custom provider to avoid using ...
    (microsoft.public.dotnet.framework.aspnet)
  • =?utf-8?B?cmU6IExvY2F0aW9uIG9mIHRoZSBwcm9maWxlLm1zaCBmb3IgY3VzdG9tIHByb3ZpZGVy?=
    ... If you are interested in executing some code during provider initialization, you can use the Provider Start function. ... For executing code for new drive, you can use the NewDrive function. ... Location of the profile.msh for custom provider ... The profile is a way for users to customize their shell environment. ...
    (microsoft.public.windows.server.scripting)