Oracle
1Z0-860 · Question #298
1Z0-860 Question #298: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #298. The question stem and answer options stay visible for context.
Question
A developer obtains a Java, security. Principal object by calling the SessionContext.getCallerPrincipal method from within a business method of a session bean. Which statement is true?
Options
- AThe returned Principal object can be null.
- BThe roles which the Principal is in can be determined from this Principal object.
- CThe return value of Principal. getName depends on the security realm which was used to authenticate
- DThe return value of the Principal. getName method is exactly the same as the username used for
Unlock 1Z0-860 to see the answer
You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.