Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-help-dev] Server.xml and eclipse help database login


The Tomcat server used by help is launched using its Embedded startup class. This effectively bypasses the server.xml config info, but you should be able to modify the code to set up a security realm. That requires changes in the tomcat plugin, but it would be simple to do. Edit TomcatAppServer and call embedded.setRealm (your own real object).

-Dorian



Andrew Gilpin <AGILPIN@xxxxxxxxxx>
Sent by: platform-help-dev-admin@xxxxxxxxxxx

03/05/2004 06:29 AM

Please respond to
platform-help-dev

To
platform-help-dev@xxxxxxxxxxx
cc
Subject
[platform-help-dev] Server.xml and eclipse help database login






I am trying to create a login for our information center over the intranet. I have managed to create usernames and passwords for users using the web.xml and tomcat-users.xml files. I want to however create a database of users that eclipse gets these username and passwords from. In stand-alone Tomcat this is done using the server.xml file however Eclipse's version of tomcat does not have this file. Does anyone know of a solution to this problem or even a way to may the eclipse Tomcat read an inserted server.xml file?


Back to the top