nerdexam
GIAC

GSSP-JAVA · Question #147

Which of the following methods of the javax.ejb.EJBContext interface allows the bean provider to access security information about the enterprise bean's caller? Each correct answer represents a…

The correct answer is B. getCallerPrincipal() D. isCallerInRole(). See the full explanation below for the reasoning.

Question

Which of the following methods of the javax.ejb.EJBContext interface allows the bean provider to access security information about the enterprise bean's caller? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AgetCallerIdentity()
  • BgetCallerPrincipal()
  • CgetEnvironment()
  • DisCallerInRole()

How the community answered

(14 responses)
  • A
    21% (3)
  • B
    71% (10)
  • C
    7% (1)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice