Re: COM+ and NetworkCredential problem
- From: "surya" <suryanarayanan.varadarajan@xxxxxxxxxxxxx>
- Date: Thu, 1 Sep 2005 10:43:50 +0530
Thanks! Another related question:
Will a call to System.Net.CredentialCache.DefaultCredentials on a thread
return the credentials of the impersonated user on the current thread or the
credentials of the user running the process?
Regards
Surya
"Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx> wrote in message
news:ed7drgWrFHA.260@xxxxxxxxxxxxxxxxxxxxxxx
>
> "surya" <suryanarayanan.varadarajan@xxxxxxxxxxxxx> wrote in message
> news:%231k6GHSrFHA.1028@xxxxxxxxxxxxxxxxxxxxxxx
> > Hi,
> >
> > I have a COM+ out of proc service that is configured to impersonate the
> > user
> > making the call to the COM+ service. Is there a way to create a
> > NetworkCredential object based on the current thread's security? Using
> > System.Net.CredentialCache.DefaultCredentials always returns the
> > credentials
> > of the user configured to run the out of proc COM+ server and not the
> > credentials of the user set on the current thread.
> >
> > Regards
> > Surya
> >
> >
> >
>
> Impersonate != delegate. So you need to select delegate a impersonation
> level, but:
> - the client has to specify during the initial authentication (using
> Kerberos) that it allows it's identity to be delegated (this is the
default
> for AD accounts) , and
> - you need to run in a Kerberos realm,
> - and the server needs to be trusted for delegation i the AD (not set by
> default).
>
> Willy.
> PS. please, don't cross-post to half of microsoft NG's, you question
relates
> to .NET Microsoft.public.dotnet.framework.component_services and possibly
to
> Microsoft.public.platformsd.component_svcs only.
>
>
.
- Prev by Date: RE: Encrypting Data EDRA Conenction string
- Next by Date: RE: Can't directly dim an instance of a tableadapter
- Previous by thread: RE: Encrypting Data EDRA Conenction string
- Next by thread: RE: Can't directly dim an instance of a tableadapter
- Index(es):
Relevant Pages
|