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()
answer is D https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html