Home All Groups Group Topic Archive Search About

ADFS and ASP .NET impersonate

Author
2 Mar 2006 3:27 PM
Mathias Erlandsson
Hi!

I have problems with impersonating in ASP .NET (both 1.1 and 2.0 framework).
When I authenticate an application through ADFS, the imperonation won't
work.
I only get the anonymous user when I try to access network resources through
ASP .NET

How can I use impersonating when the application is authenticated through
ADFS?
I have tested with both Claim-aware and Windows NT token-based applications.

---
Mathias Erlandsson

Author
2 Mar 2006 5:28 PM
Michael Nemtsev
Hello Mathias,

Could you describe what have u done to turn on impersonate?
Did u turn off anonymous access and add impersonate=true to the web.conif?

ME> Hi!
ME>
ME> I have problems with impersonating in ASP .NET (both 1.1 and 2.0
ME> framework).
ME> When I authenticate an application through ADFS, the imperonation
ME> won't
ME> work.
ME> I only get the anonymous user when I try to access network resources
ME> through
ME> ASP .NET
ME> How can I use impersonating when the application is authenticated
ME> through
ME> ADFS?
ME> I have tested with both Claim-aware and Windows NT token-based
ME> applications.
ME> ---
ME> Mathias Erlandsson
---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Author
3 Mar 2006 6:09 AM
Mathias Erlandsson
Hi!

Thanks for replying.

Yes I have impersonate=true in the web.config. But because I use ADFS for
authentication I must have anonymous access enabled on the application.

So the question is if there is a way to do impersonation even when anonymous
access is enabled? Perhaps this is a feature drop in ADFS?

/Mathias

Show quote
"Michael Nemtsev" wrote:

> Hello Mathias,
>
> Could you describe what have u done to turn on impersonate?
> Did u turn off anonymous access and add impersonate=true to the web.conif?
>
> ME> Hi!
> ME>
> ME> I have problems with impersonating in ASP .NET (both 1.1 and 2.0
> ME> framework).
> ME> When I authenticate an application through ADFS, the imperonation
> ME> won't
> ME> work.
> ME> I only get the anonymous user when I try to access network resources
> ME> through
> ME> ASP .NET
> ME> How can I use impersonating when the application is authenticated
> ME> through
> ME> ADFS?
> ME> I have tested with both Claim-aware and Windows NT token-based
> ME> applications.
> ME> ---
> ME> Mathias Erlandsson
> ---
> WBR,
> Michael  Nemtsev :: blog: http://spaces.msn.com/laflour
>
> "At times one remains faithful to a cause only because its opponents do not
> cease to be insipid." (c) Friedrich Nietzsche
>
>
>

AddThis Social Bookmark Button