• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security constraint question

 
geeta vemula
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now you don't. In E the constraint is just sitting there doing pretty much nothing. But it wont cause any trouble either.
 
Chinmaya Chowdary
Ranch Hand
Posts: 432
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Geeta. <url-pattern> is mandatory under <web-resource-collection>. See SRV.13.4 Deployment Descriptor Diagram.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic