Hi,
How can I accomplish multiple authentication modes in one application?
I have the following scenario:
- A company, X, has some employees
- Those on rolls have an AD account
- Those not, have an account that's managed in a separate DB
- I want AD (NTLM/Windows) authentication as well as Forms
authentication. How can I accomplish this?
Is it possible to create an httpModule and then... based on some
conditions, delegate the requests to the NTLM / Forms login-handlers?
I would like to expand this to allow multiple modes -- which may get
complex later (with a few more custom modes added in) ...

Signature
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org/gallery
-----------------------------------
Paul Glavich [MVP - ASP.NET] - 17 Oct 2004 12:54 GMT
Hi Gaurav,
I have just written an article that describes exactly how to do what you
want.
Its still awaiting publishing approval before being made public, but I'd be
happy to forward it to you to help you out. If interested, contact me at
glav@aspalliance.com-NOSPAM. Obviously remove the "-NOSPAM" from my email
address.

Signature
- Paul Glavich
Microsoft MVP - ASP.NET
> Hi,
>
[quoted text clipped - 14 lines]
> I would like to expand this to allow multiple modes -- which may get
> complex later (with a few more custom modes added in) ...
Gaurav Vaish - 18 Oct 2004 05:23 GMT
Thanks, Paul, for your reply.
Kindly check your mail.

Signature
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
-----------------------------------
> Hi Gaurav,
>
[quoted text clipped - 24 lines]
> > I would like to expand this to allow multiple modes -- which may get
> > complex later (with a few more custom modes added in) ...