• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat security problem????

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I m making a web application security module. These feature is provide by tomacat server. By using "web.xml" & "tomcat-users.xml", we can create users and assign roles to them.

But i just want to create users and roles at runtime i.e. don't wanna restart tomcat server to apply changes in xml.

Tomcat provides this runtime xml reloading service, But how tomcat is doing all this I m not getting.

Could anyone please help me out in this???

I would be thankful to him/her.

Thanks in advance.

Regards
Dheeraj Chhabra
[ August 12, 2005: Message edited by: dheeraj chhabra ]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the server.xml file, you can configure Tomcat to use a JDBCRealm (which looks up users via JDBC) instead of a UserDatabaseRealm (which uses an XML file). All the gory details are here.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic