aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question 11 of HFSJ Final mocktest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question 11 of HFSJ Final mocktest" Watch "Question 11 of HFSJ Final mocktest" New topic
Author

Question 11 of HFSJ Final mocktest

geeta vemula
Ranch Hand

Joined: Jul 18, 2008
Posts: 208
Given these fragments from within a single tag in a Java EE DD:

Which are true? (Choose all that apply.)
A. A Java EE DD can contain a single tag in which all of these tags can legally co-exist.
B. It is valid for more instances of <auth-constraint> to exist within the single tag described above.
C. It is valid for more instances of <user-data-constraint>
to exist within the single tag described above.
D. It is valid for more instances of <url-pattern> to exist within the <web-resource-collection> tag described above.
E. It is valid for other tags of the same type as the single encasing tag described above to have the same <url-pattern> as the tag above.
F. This tag implies that authorization, authentication, and data integrity security features are all declared for the web application.

Answer is ABDEF

but how it is ensuring authentication? authentication is the job of <login-config> tag. it is only providing authorization and data confidentiality . please clear my doubt.

thanks
geeta
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

but how it is ensuring authentication? authentication is the job of <login-config> tag. it is only providing authorization and data confidentiality . please clear my doubt.

You are referring to answer F, right ? The answer says : "This tag implies that authorization, authentication, and data integrity security features are all declared for the web application.". There is no login-config tag here, but it implies that there is one, otherwise the tags included in the question would be of no use.

[My Blog]
All roads lead to JavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question 11 of HFSJ Final mocktest