The ejb-jar.xml visual editor lets you edit the general
for an EJB module. You open the editor by expanding the project's Configuration Files node in the Projects window and double-clicking ejb-jar.xml.
The Enterprise Beans section of the General tab contains a section for each
of your EJB module's enterprise beans.
Each enterprise bean has a Security section where you can specify the following properties for
security identity and method permissions for your bean:
Security Identity.
No Security Identity. No security identity is used when invoking methods on this bean.
Use Caller's Identity. Use the identity of the caller when invoking methods on this bean.
Run As. Use the identity of a particular role when invoking methods on this bean. The role must match one of the roles in the Security Roles table.
Global Method Permissions.
No Permissions. No method permission is specified for this bean.
All Users Can Access All Methods. No method permission is checked for all the methods.
Set Role(s) for Access to All Methods. Set the comma separated list of roles that have permissions to access all the methods of the bean.
The roles must match the roles in the Security Roles table.
All enterprise beans also have the following sections in the ejb-jar.xml visual editor: