Setting the security role of the bean
Set the security role for the methods in the bean.
Before you begin
Procedure
- In the Deployment Descriptor editor, select the Assembly Descriptor tab.
- In the Method permissions section, click Add.
- Select WCSecurityRole as the security role and click Next.
- From the list of beans found, select yourNewBean and click Next.
- In the Method elements page, click Apply to All, then click Finish.
- Save your work and then close the Deployment Descriptor editor.
- Proceed to setting the optimistic locking option of the bean.