CertGear Systems - Certification Practice Tests /Exams For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP Test Prep Products Built To Satisfy The Most Demanding Professional.
Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP
CertGear Products - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMPCertGear Products - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMPAbout CertGearCertGear Affiliates ProgramCertGear Technical SupportCertGear Product Downloads - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP
PHR Certification
SPHR Certification
SCJP Practice Tests
SCWCD Practice Tests
SCBCD Practice Tests
SCDJWS Practice Tests
PMP Practice Test
GPHR Practice Tests
|CISSP Practice Tests CISA Practice Tests

SCWCD Certification Practice Tests SCWCD Study Guide (CX-310-081)

 
 EJB Security Quiz  

EJB Security Quiz:

In which of the following methods can stateful session bean invoke the getCallerPrincipal() to get the security information of the client?

A) setSessionContext()
B) ejbCreate()
C) business methods
D) ejbCreate()
E) bean's constructor

  • [Ans: B, C, D]

  • A stateful session bean's creation is a direct result of a client invoking the create() method on the home. As a result, a stateful session bean can retrieve the security information about the client in the ejbCreate() method.

    However, before the ejbCreate() is invoked, the client's security information cannot be retrieved. Hence, it is not possible to call getCallerPrincipal() in the setSessionContext() and session bean's constructor.



BACK  

 


 

  HRCI Certifications :  PHR, SPHR, GPHR   |    PMI Certifications: PMP
Java Certifications :  SCWCD, SCBCD, SCJDWS, SCJP  | Security Certifications: CISSP, CISA