This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes The DD  security-role element in web.xml 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 "The DD  security-role element in web.xml" Watch "The DD  security-role element in web.xml" New topic
Author

The DD security-role element in web.xml

sridhar row
Ranch Hand

Joined: Jan 16, 2008
Posts: 162
Can someone please let me know if the <security-role> element goes under a <servlet> element or is it a separate element under <web-app....>??
Baddy Davay
Greenhorn

Joined: Aug 10, 2008
Posts: 26
<web-app>
<servlet >
<security-role-ref>
....
</security-role-ref>
</servlet>
<security-role>
</security-role>
<web-app>
sridhar row
Ranch Hand

Joined: Jan 16, 2008
Posts: 162
Authentication works without <security-role> element in web.xml. So I'm wondering what is the use of it?? code that works:




localhost/Beer-v1/login.html
[ December 30, 2008: Message edited by: Warnakulasuriya Patabendige Ushanth ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The DD security-role element in web.xml
 
It's not a secret anymore!