This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Enthuware test question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Enthuware test question" Watch "Enthuware test question" New topic
Author

Enthuware test question

Amit Hetawal
Ranch Hand

Joined: Apr 12, 2008
Posts: 48
Hello All,
Can someone help me with the answer for this question.



According to me, shouldn't the answer be Option D, since there is not <http-method> defined, all the methods will be inaccessible,
so the user should not be prompted for any of the Http methods ?

Please advise.

Thanks,
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

If no HTTP methods are specified, then the security constraint applies to all HTTP methods. So if a url matches a security-constraint, then the user will have to login.


[My Blog]
All roads lead to JavaRanch
Amit Hetawal
Ranch Hand

Joined: Apr 12, 2008
Posts: 48
Thank you, it took me a while to clear my understanding on this ..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Enthuware test question
 
Similar Threads
web-resource-collection ?
Enthuware question doubt
Declarative Secruity
A mock question about security
Marcus Green Quiz 1 - Mock Exam Question Doubt