• Post Reply Bookmark Topic Watch Topic
  • New Topic

Q from Wrox book

 
sean cee
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Engin Okucu
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dexter Blick
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!