nerdexam
GIAC

GSSP-JAVA · Question #137

Which of the following statements about the isUserInRole() method are true? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is B. It is mapped in the deployment descriptor using the <security-role-ref> element. D. The <role-link> sub-element of the <security-role-ref> element must match the <role-. See the full explanation below for the reasoning.

Question

Which of the following statements about the isUserInRole() method are true? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AIt accepts a boolean argument.
  • BIt is mapped in the deployment descriptor using the <security-role-ref> element.
  • CIt belongs to the HttpServletResponse interface.
  • DThe <role-link> sub-element of the <security-role-ref> element must match the <role-

How the community answered

(30 responses)
  • A
    13% (4)
  • B
    80% (24)
  • C
    7% (2)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice