Setting the security identity of the bean

To set the security identity of the bean:

Before you begin

You have set the transaction isolation level of the bean.

Procedure

  1. In the Deployment Descriptor editor, ensure that you have the Access tab selected.
  2. Click Add next to the Security Identity (Method Level) text box. The Add Security Identity window opens.
  3. Select Use identity of EJB server, then click Next.
  4. From the Beans found list, select the yourNewBean bean, then click Next.
  5. From the Methods found list, select yourNewBean to select all of its methods, and click Finish.
  6. Save your work and keep the editor open.
  7. Proceed to setting the security role of the bean.