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