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

Questions in Secruity..

 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,
Can you please tell me what this question means?...

tHANKS IN Advance...


Which deployment descriptor element is used by the servlet container for a login configuration that uses HTTP Basic authorisation?
1. auth-constraint
2. realm-name
3. form-login-config
4. user-data-constraint
5. web-resource-collection

Answer 2 is correct. The realm element specifies the realm name to use in HTTP Basic authorisation.
Answers 1, 4 and 5 are incorrect because the elements are not used in the login-config deployment descriptor element. Answer 3 is incorrect because the form-login-config element is only used if form based authentication is used. For a login configuration that uses HTTP Basic authorisation, form-login-config is ignored by the servlet container.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic