Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic