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.
SCJP 1.4, SCWCD 1.4, SCBCD 1.5, TOGAF 9, Comptia Cloud+