View Single Post
  #1 (permalink)  
Old 04-04-2004
yomi yomi is offline
Registered User
 
 
Join Date: Aug 2003
Posts: 32
service access control problem

Hi, I want to develop a common service (which provide sending and receiving MMS service) for other server(eg. web server).
I think ICE is rather a good solution to do this.

Send progress:
web servers ---->|
web servers ---->| -> MMS Service -> MMS Gateway
web servers ---->|

Recv progress:
web servers <----|
web servers <----| <- MMS Service <- MMS Gateway
web servers <----|


I simply define a sending MMS interface:

class SendMMS
{
SendMMSRes SendMMS(TMMSInParam inparam);
}

but I have 3 questions:

1. When multi web server invocation the SendMMS operation, are there multi SendMMS impletion objects for each web server or only one?

2. The authrization is needed for every web server to access my MMS service, how can I control the access? Must I provide another IN PARAM in the SendMMS operation which include authrization information? And do the authrization in every call?

3. When receive MMS from the MMS gateway, each MMS must be deliver to one of those web servers based some policy (eg. by destnation ID). So for receiveing MMS service, I have to make the web servers as the serverside of ICE object. But if I do so, then there is many same object in different web servers, and they are different. I don't know how to config ICE to fit this solution.

Rather sorry for my poor English.

yomi
Reply With Quote