Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > COM+ and NetworkCredential problem

Reply
Thread Tools

COM+ and NetworkCredential problem

 
 
surya
Guest
Posts: n/a
 
      08-30-2005
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



 
Reply With Quote
 
 
 
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      08-30-2005

"surya" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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_servic es and possibly to
Microsoft.public.platformsd.component_svcs only.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to get a NetworkCredential object from the current =?Utf-8?B?WUs=?= ASP .Net 3 03-24-2010 08:34 PM
NetworkCredential IveCal Java 6 04-20-2006 02:42 PM
COM+ and NetworkCredential problem surya ASP .Net Security 1 08-30-2005 01:38 PM
Integrated windows authentication and NetworkCredential sorpor ASP .Net Security 3 05-04-2004 11:38 AM
Using NetworkCredential then a Redirect to the site requiring the credientails Jay Douglas ASP .Net 4 03-06-2004 04:36 PM



Advertisments