Why do you want the two applications to be hitting another web application for this? Wouldn't it be easier (and much faster) to build a module/library for permissions and hook it up to the other two applications? That module would look up users in the same database.
Have a class called Gatekeeper that's initialized once and has connection to the database and has methods like .isAuthenticated .isPermitted and so forth. You need to make sure that this class is generic so that it can be used in both applications. d. rusty bawa wrote:
Greetings, I wonder if anyone can help me by leading me to the right direction. My question is: I have 2 Servlet applications running on 2 separate Tomcat application servers. The apps run on 2 different physical machines and have no need to communicate to each other. Both apps connect to the Oracle database. I need to build a permission system. The permission system shall reside on its own Tomcat server. Both applications will hit [query] the Permission server to get access to a particular resource. Perhaps this is acceptable design and the risk of the permission system to go off line is low what other obstacles should I be looking for? Can a servlet post data to another servlet? Please let me know your professional opinion to the design above. Bawa __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
-- David Mossakowski Instinet Corporation ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html