One possible way is to use HTTP Sessions with soap. You can pass the userName and password via the headers to the RPCRouterServlet under server/http. Modify the servlet to do the authentication. You will need to modify RPCRouterServlet.java, Call.java and HTTPConnection.java. If you look at the code it is obvious where you would make the changes. Add a java.security.MessageDigest object for password verification and you are up and running.
-----Original Message----- From: George Voronoff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 12:38 PM To: [EMAIL PROTECTED] Subject: Can you spare a paradigm? I'm new to SOAP and I'm wondering if anyone can point me in the right direction here. In the past, when I have writtten API's that access a servers functionality I have used an interface model. I would get a Login interface, and have the client call Login.login(username, password). On successfull login, Login.login() would return an interface to A server. The server interface would then expose the methods that defined the server API. Is there a way to use soap to do something like this? George Voronoff
