nerdexam
GIAC

GSSP-JAVA · Question #20

Which of the following methods performs the authentication of subject and, if successful, associates Principals and Credentials with the authenticated Subject?

The correct answer is C. The login() method of the LoginContext class. See the full explanation below for the reasoning.

Question

Which of the following methods performs the authentication of subject and, if successful, associates Principals and Credentials with the authenticated Subject?

Options

  • AThe getSubject() method of the LoginContext class
  • BThe login() method of the LoginModule interface
  • CThe login() method of the LoginContext class
  • DThe initialize() method of the LoginModule class

How the community answered

(45 responses)
  • A
    2% (1)
  • B
    9% (4)
  • C
    82% (37)
  • D
    7% (3)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice