It's not a secret anymore!
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "security constraint question" Watch "security constraint question" New topic

security constraint question

geeta vemula
Ranch Hand

Joined: Jul 18, 2008
Posts: 208
this is from

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:
subject: security constraint question
It's not a secret anymore!