Implementing my own Windows Authentication module.
From: Arnaud PICHERY (aranud@ifrance.com)
Date: 10/29/02
- Next message: Shawn Farkas [MS]: "Re: Security.Crypto.. API question"
- Previous message: Javier Miranda: "Forms Authentication, Roles Authorization, Session Variables and Application_AuthenticateRequest Help!"
- Next in thread: Anthony K. Song: "Re: Implementing my own Windows Authentication module."
- Reply: Anthony K. Song: "Re: Implementing my own Windows Authentication module."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Arnaud PICHERY" <aranud@ifrance.com> Date: Tue, 29 Oct 2002 23:53:02 +0100
Hi !
I need to create my own authentication module to
handle both the Form authentication and the Windows
authentication (Users without the proper windows
credentials will be redirected to a logon page and
will have to enter some alternate credentials using
a login/password validated by a form-like authentication
mechanism).
So far I have been able to create the form authentication
part without too much troubles, but the windows
authentication part is a little more tricky.
Basically what I miss is the user token found in the
request to create a WindowsIdentity object. I know that
the Windows authentication module provided by microsoft
does that by accessing an internal HttpWorkerRequest
object and getting the user token by calling
HttpWorkerRequest.GetUserToken(). Unfortunately I can
access the internal HttpWorkerRequest object.
Any idea on how to get it?
Arnaud :O)
PS: I have a working version of my work at
http://pichery.dyndns.org/aspnet using the provided
Windows authentication mechanism and overloading it
with the form authentication mechanism. But I need to
wrap the whole into a IHttpModule and thus using the
provided Windows authentication mechanism is not an option.
- Next message: Shawn Farkas [MS]: "Re: Security.Crypto.. API question"
- Previous message: Javier Miranda: "Forms Authentication, Roles Authorization, Session Variables and Application_AuthenticateRequest Help!"
- Next in thread: Anthony K. Song: "Re: Implementing my own Windows Authentication module."
- Reply: Anthony K. Song: "Re: Implementing my own Windows Authentication module."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|