nerdexam
GIAC

GSSP-JAVA · Question #69

Mark works as a Programmer for InfoTech Inc. He develops the following security-constraint code. <security-constraint> <web-resource-collection> <web-resource-name>Manager</web-resource-name>…

The correct answer is A. Place the following code in the second <security-constraint> declaration. B. Place the following code in the first <security-constraint> declaration. See the full explanation below for the reasoning.

Question

Mark works as a Programmer for InfoTech Inc. He develops the following security-constraint code. <security-constraint> <web-resource-collection> <web-resource-name>Manager</web-resource-name> <url-pattern>/acme/Manager/</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> //<auth-constraint/> code </security-constraint> <security-constraint> <web-resource-collection> <web-resource-name>Manager</web-resource-name> <url-pattern>/acme/Manager/</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> //<auth-constraint/> code </security-constraint> Which of the following <auth-constraint> element declarations of the <security-constraint> will allow everybody to access the same resources?

Options

  • APlace the following code in the second <security-constraint> declaration.
  • BPlace the following code in the first <security-constraint> declaration.
  • CPlace the following code in the first <security-constraint> declaration.
  • DPlace the following code in the first <security-constraint> declaration.

How the community answered

(27 responses)
  • A
    78% (21)
  • C
    7% (2)
  • D
    15% (4)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice