Set the security role of the bean
Set the security role for the methods in the bean.Prerequisite You have set the security identity of the bean.
- 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.
Previous topic:Set the security identity of the bean
Next topic:Set the optimistic locking option of the bean
Related tasks
Create new entity beans