aspose file tools*
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The DD security-role element in web.xml