Which is a valid way to retrieve the Principal invoking either behavior?

Given an HttpServletRequest request and an EJB SessionContext ctx.
Which is a valid way to retrieve the Principal invoking either behavior?
A. request.getCallerPrincipal() and ctx.getCallerPrincipal()
B. request.getUserPrincipal() and ctx.getUserPrincipal()
C. request.getCallerPrincipal() and ctx.getUserPrincipal()
D. request.getUserPrincipal() and ctx.getCallerPrincipal()

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which is a valid way to retrieve the Principal invoking either behavior?

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.