Which method achieves this goal?

A developer wants to perform programmatic access control inside EJB 3.0 session beans. This is
needed because some permissions can be determined only at application runtime. Which method
achieves this goal?

A developer wants to perform programmatic access control inside EJB 3.0 session beans. This is
needed because some permissions can be determined only at application runtime. Which method
achieves this goal?

A.
javax.ejb.EJBContext.getRollbackOnlyO

B.
java.lang.SecurityManager.checkAccess(Thread t)

C.
javax. interceptor. InvocationContext. getTargetO

D.
javax. ejb. SessionContext.isCallerlnRole(String roleName)

E.
javax. servlet. http. HttpServletRequest. getUserPrincipalQ



Leave a Reply 0

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