CIW Exam Questions

Which statement correctly describes the functionality of the getCallerPrincipal() method of the EJBC

Which statement correctly describes the functionality of the getCallerPrincipal() method of the
EJBContext interface?

A.
The getCallerPnncipal() method returns the identity of a caller of an EJB method

B.
The getCallerPnncipal() method returns a reference to the role to which an EJB user is
assigned.

C.
The getCallerPnncipal() method returns a reference to the security context for an EJB user.

D.
The getCallerPnncipal() method is used to provide authentication services for an EJB.