Forums Register Login

Q from Wrox book

+Pie Number of slices to send: Send
Hi,
P148 Q1 What do these deployment descriptor elements relate to? select one correct answer:
<security-constraint>
<login-cofig>
<security-role>
a. Authorization of web application
b. Data integrity of web application
c. Authentication of web application
d. Singing of web application
answer is c but ... I think it both a and c.
what do you think?
Thanks
+Pie Number of slices to send: Send
So that it must also be a),the <auth-constraint> must be defined, it specifies the the roles that can access the resources specified in the <web-resource-collection>.
It 'is not present here.
+Pie Number of slices to send: Send
I believe the most correct answer is a)
all 3 tags are required to control access (ie authorisation), but only the <login-config> tag is required for authentication.
Destroy anything that stands in your way. Except this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 504 times.
Similar Threads
Failed to load users/passwords/role files
security constraint question
javaranch mock exam
Mock Question: Why Only 1 Correct Answer when...
auth-constraint doubt in HFSJ book
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:04:41.