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 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
jQuery in Action, 2nd edition
 
subject: Question 11 of HFSJ Final mocktest
 
Similar Threads
JBOSS web logon not redirecting from port 8080 to 8443 at login
Some brain-storming questions in security
HFJS (V2) Final Mock Question 11 is wrong?
HFSJ 2nd edition Mock exam questions 6, 11,26,34,49 and 69
Client-Cert authentication not protecting specified URL pattern