• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

security

 
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic