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?
A.
The returned Principal object can be null.
B.
The roles which the Principal is in can be determined from this Principal object.
C.
The return value of Principal. getName depends on the security realm which was used to
authenticate thecaller.
D.
The return value of the Principal. getName method is exactly the same as the username used
for authentication of the caller.