aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "security" Watch "security" New topic
Author

security

Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
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!


The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41530
    
  53
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


Ping & DNS - my free Android networking tools app
Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
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

Joined: Mar 24, 2008
Posts: 3825

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.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: security