File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Enthuware test question" Watch "Enthuware test question" New topic

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.

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

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 ..
I agree. Here's the link:
subject: Enthuware test question
It's not a secret anymore!