I want constraint my resource be secure, but I don't want use the tomcat-users.xml, instead I want use a table of a database, how do I do?
Other question, when I constraint a resource (/start) with data constraint CONFIDENTIAL, the web server (in this case Tomcat) turn the url to HTTPS, that is ok, but in this point in forward, all request I do, use HTTPS, what can I do if I ONLY want the initial resource (/start)use the HTTPS, and the others HTTP?
Thanks in advance.
Joined: Mar 28, 2005
Hello? Or in any other forum is the question appropiate for?
Joined: May 10, 2005
1) I'm not very competent in Tomcat configuration, but i think, you must configure a Database Realm for using database insetad of tomcat-users.xml. You can find an example of configuration in \CATALINA_HOME\conf\server.xml
Unfortunately, no thoughts about your second question.