Halloween Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmasmnth

You work as a Software Developer for NewTech Inc.

You work as a Software Developer for NewTech Inc. You write a bean class called EmployeeBean. The class contains two methods, EmpSal() and EmpAttendance(). Both these methods can be accessed by the ADMIN role. The EmpSal() method can be accessed only by the HR role, while the EmpAttendance () method can be accessed only by the DBA role. You want the EmpAttendance() method to be accessed by the HR role also. However, no other roles in the class except ADMIN, DBA, and HR should be able to access the EmpAttendance() method. Which of the following steps will you take to accomplish the task?

Each correct answer represents a complete solution. Choose all that apply.

A.

Use the element of the deployment descriptor and declare the as DBA.

B.

Use the @RunAs("ADMIN") annotation to allow the HR the privileges as ADMIN.

C.

Use the @RunAs("DBA") annotation to allow the HR the privileges as DBA.

D.

Use the element of the deployment descriptor to declare the role-name as DBA and the method-name as EmpAttendance.

E.

Use the @PermitAll annotation with the EmpAttendance() method to allow the HR to access the EmpAttendance() method.

GIAC GSSP-Java Summary

  • Vendor: GIAC
  • Product: GSSP-Java
  • Update on: Oct 30, 2025
  • Questions: 275
Price: $52.5  $149.99
Buy Now GSSP-Java PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method