In the Security tabbed pane, you can edit the enterprise bean's
security settings.
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.
Click Deployment Settings to select the client authentication method
and the user name for the run-as role.
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 menu in the Role Name column.
To edit a:
Security role reference- Select it from the
Coded Name column and type in the new name.
Security role name - Select the new name from
the drop-down menu in the Role name column.
Method permission - Select or unselect
the checkbox corresponding to a
method/role pair to allow the role access to the method in the
Method Permissions panel.