HighTechTalks DotNet Forums  

HELP on remoting credential ???

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss HELP on remoting credential ??? in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
calderara
 
Posts: n/a

Default HELP on remoting credential ??? - 05-14-2007 , 04:37 AM






Dear all,

I start to loose my hairs. Hoep someone could help me to recover..:-)
I have build a remote object hosted in a Windows Service runing as
LocalService.
I have then a claient application which calling that remote object and based
on the caller credential I shouzld authorise hit or not to access to back end
database.

The situation is as follow :
My client is running as BOB. BOB is calling the remote object for data
storage. What I try to do is retriveing the caller credential from my remote
object in order to athauticated for further process. The problem is that when
I check the wndows identity on my server side, it return the context on which
my service is running and not my caller's context.

MY server config file is as follow :

<channels>
<!--<channel ref="tcp" port="8090" useDefaultCredentials="False">-->
<channel ref="tcp" port="8090" secure="True"
impersonationLevel="Impersonate" protectionLevel="EncryptAndSign">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>
</channels>

Note that I am using .NEt 2.0

Thnaks again for your help ( I am fighting for a full week now on this grrr
:-()
regards
serge

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.