In the Security tabbed pane, you can edit the enterprise bean's security
settings. See also: Security page of the Enterprise
Bean Wizard.
In the Security Identity pane, select which security identity should
be propagated to the beans that this enterprise bean calls:
Choose Use Caller ID if you want the principal of this enterprise
bean's caller to be propagated to other beans that it calls.
Choose Run as Specified Role and select the role from the menu
if you want another security identity besides the caller's identity propagated
to other beans. Click Edit Roles if the role that you want to use as the
security identity is not in the list.
Indicate which role has access to which methods by selecting the
appropriate checkboxes in the Method permissions panel.
Click Add to add a
.
Enter the name of the security role reference in the Coded Name
column.
Click Edit Roles if the
that you want to map to is not listed in the Role Name column.
Select the security role name that maps to the coded name from
the drop-down list in the Role Link column.
To edit a:
Security role reference - Select it from the Role Name column and
type in the new name.
Security role link - Select the new link from the drop-down list
in the Role Link column.
Method permission - Check or uncheck the box corresponding to a
method/role pair to allow the role access to the method in the Method Permissions
panel.