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)- A4% (1)
- B4% (1)
- C81% (22)
- D11% (3)
Community Discussion
No community discussion yet for this question.