GSSP-JAVA · Question #111
Mark works as a Programmer for InfoTech Inc. He develops the following deployment descriptor code for specifying the security roles for a Web application. <security-role>…
The correct answer is A. <auth-constraint> C. <auth-constraint> E. <auth-constraint> F. <auth-constraint>. See the full explanation below for the reasoning.
Question
Mark works as a Programmer for InfoTech Inc. He develops the following deployment descriptor code for specifying the security roles for a Web application. <security-role> <role-name>Manager</role-name> </security-role> <security-role> <role-name>Admin</role-name> </security-role> <security-role> <role-name>Member</role-name> </security-role> </web-app> Which of the following are the valid <auth-constraint> element that will allow the users to access resources constrained by the security role declared given above? Each correct answer represents a complete solution. Choose all that apply.
Options
- A<auth-constraint>
- B<auth-constraint/>
- C<auth-constraint>
- D<auth-constraint>
- E<auth-constraint>
- F<auth-constraint>
How the community answered
(47 responses)- A79% (37)
- B15% (7)
- D6% (3)
Community Discussion
No community discussion yet for this question.