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)- A2% (1)
- B9% (4)
- C82% (37)
- D7% (3)
Community Discussion
No community discussion yet for this question.