For EJB 1.1 projects, you must define a
security role before you can add a method permission to an enterprise bean.
For EJB 2.x projects, method permissions can specify a security role to use
for the method permission, or you can specify that the selected methods from
the selected beans do not require authorization to execute.
After the method permission has been created, you will see newly created
method permission in the tree. If you expand the tree, the bean and methods
that are defined in the method permission are displayed.
After
you define method permissions, you can use the deployment descriptor editor
to work with them.
- To edit a method permission, select it from the Method Permissions list
and click Edit.
- To delete a method permission, select it from the list and click Remove.
- To take multiple method permissions that use the same security role and
combine them into a single method permission, click Combine.