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,
>
[quoted text clipped - 8 lines]
> Thanks though,
> Daniel
MikeS - 29 Dec 2005 02:46 GMT
Hi Brock,
Daniel is mentioning Membership (authentication) and Roles
(authorization). Two different animals as far as I now. Whatever.
So for a custom Auth Store Provider, we can pass in the providers
collection to the custom provider, so it has all of them at it's
fingertips to use, at application start from global, right?.
What could we then branch on in the custom provider to determine which
provider to pull out of the providers collection to use? If I had the
request in hand I could look at the resource being asked for and branch
on that I guess but I am not sure where is the right/safe place to grab
that.
Simply what I'd like to be able to do is use different auth store
providers for different sub directories so I can break up my AzMan
store into more managable seperate applications.
What I want is different then Daniel but with a custom provider like I
described, I think he could loop through the providers collection and
pull of all roles found for a user, concatenate them into a string
array and retrun them all.