Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about security

 
Carlos Rincon
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello? Or in any other forum is the question appropiate for?
 
Sergey Tyulkin
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic