This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question about security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question about security" Watch "Question about security" New topic
Author

Question about security

Carlos Rincon
Greenhorn

Joined: Mar 28, 2005
Posts: 22
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.
Carlos Rincon
Greenhorn

Joined: Mar 28, 2005
Posts: 22
Hello? Or in any other forum is the question appropiate for?
Sergey Tyulkin
Ranch Hand

Joined: May 10, 2005
Posts: 87
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Question about security