Seperate services over multiple channels

Hi,

I have two remobjects servers on .NET. I would like to let the two servers communicate with each other through remobjects services over a “private” channel.

Is it possible to make a service inaccessable for the “public” channel but accessable for the “private” channel?

Hi,

it is possible with the Roles feature.

How it can be implemented:

  • you protect whole service or his method(s) with role.
  • when client performs login, you can assign this role for “private” user in Login method.
  • when client tries to execute “protected” service, our code validates roles and if it doesn’t match this method cannot be executed and SessionRolesException exception is raised.