Where is the user impersonation token stored?
From: Gery D. Dorazio (gdorazio_at_enque.net)
Date: 10/10/05
- Previous message: Dominick Baier [DevelopMentor]: "Re: Forms Authentication"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: Where is the user impersonation token stored?"
- Reply: Dominick Baier [DevelopMentor]: "Re: Where is the user impersonation token stored?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 10 Oct 2005 04:02:00 -0400
When a user visits a web site and is authenticated through the popup dialog
box (Windows authentication) he enters his username and password. Evidently
this creates the users impersonation token that is used on subsequent
requests to secured web pages. On subsequent requests the
WindowsAuthenticationModule is what authenticates on each request. The code
that does this looks like this:
WindowsIdentity wi = new WindowsIdentity(ctx.WorkerRequest.GetUserToken(),
text2, WindowsAccountType.Normal, true);
Context.User = new WindowsPrincipal(wi);
The questions are:
1. Where did the initial Windows authentication put the user impersonation
token?
2. Where is the user impersonation token stored as the user makes web page
requests(or is it generated on each request and if so how?)?
Thanks,
Gery
-- Gery D. Dorazio Development Engineer EnQue Corporation www.EnQue.com www.ImagingHardware.com
- Previous message: Dominick Baier [DevelopMentor]: "Re: Forms Authentication"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: Where is the user impersonation token stored?"
- Reply: Dominick Baier [DevelopMentor]: "Re: Where is the user impersonation token stored?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|