nerdexam
GIAC

GSSP-JAVA · Question #38

Which of the following methods is used to authenticate the users, and if the user has not been authenticated, the method returns false?

The correct answer is C. isUserInRole(). See the full explanation below for the reasoning.

Question

Which of the following methods is used to authenticate the users, and if the user has not been authenticated, the method returns false?

Options

  • AgetCallerPrincipal()
  • BgetRemoteUser()
  • CisUserInRole()
  • DgetCallerIdentity()

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    81% (22)
  • D
    11% (3)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice