Possible to know Client Identity calling a Server using .Net Remoting?

  • Thread starter Thread starter José Joye
  • Start date Start date
J

José Joye

I have written a .NET remoting app and I would like to know the identity of
the client that calls my Server. Is there a way to do it?
Or do I have to pass it as parameter in each of the method exposed to the
clients?

Thanks,
José
 
..Net Remoting doesn't provide any "out of the box" mean to discover or
assert the client identity. First, you can implement your own identity flow
mechanism by extending the remoting stack. Second, you can opt for the http
channel and IIS as a container for your remoted objects so that you leverage
the built-in capabilities from IIS.
 
You might be able to use the current Principal object to determine the
identity of the caller. Of coure , it depends on your authentication
mechanism.
 
I'm not too sure I understand what you mean...
Does it mean that the thread activated when the request is received is
launched under the client credentials?

Thanks,
José
 
Back
Top