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

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

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.



Leave a Reply 0

Your email address will not be published. Required fields are marked *