Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security

 
Nabila Mohammad
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!
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • 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?
 
Vijitha Kumara
Bartender
Pie
Posts: 3930
21
Chrome Fedora Hibernate
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic