*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes security constraint question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "security constraint question" Watch "security constraint question" New topic
Author

security constraint question

geeta vemula
Ranch Hand

Joined: Jul 18, 2008
Posts: 208
this is from javabeat.net

Which of the following deployment descriptor segments are VALID for security-related configuration of a web application?
Please select two correct answers.


Answer is BE

but how e is correct? . we must have atleast one url pattern?
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
Now you don't. In E the constraint is just sitting there doing pretty much nothing. But it wont cause any trouble either.


JDBCSupport - An easy to use, light-weight JDBC framework -
Chinmaya Chowdary
Ranch Hand

Joined: Apr 21, 2008
Posts: 432
Hi Geeta. <url-pattern> is mandatory under <web-resource-collection>. See SRV.13.4 Deployment Descriptor Diagram.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: security constraint question
 
Similar Threads
redirecting to the last requested page after valid log in
HTTP Status 404 After Adding security-constraint To web.xml
Sharpen Your Pencil - PN 658
Form based login
Is auth-constraint related to security-role?