• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

security

 
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!

I was going through the security chapter and wanted to see how it works . But i am not sure what files it requires,and it's location and how to invoke it. So um.. can some one give me a rough idea on this, so i can work on it ....

Thanks!
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The setup depends on the servlet container you're using; the instructions for Tomcat are at http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html
 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the long delay in response...

Does that mean I have to configure/create a Realm to test any part of Security?
 
Bartender
Posts: 4107
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Nabila Mohammad wrote:...Does that mean I have to configure/create a Realm to test any part of Security?


Yes, a Realm is where you store the user's login credentials (username/password/roles etc..). Easiest way would be to use a memory realm, edit the tomcat-users.xml (for Tomcat) as mentioned in the link provided by Ulf.
 
I am going to test your electrical conductivity with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic