11.2.2. EJB Method Permissions
220.127.116.11. About EJB Method Permissions
EJBs can restrict access to their methods to specific security roles.
<method-permission>element declaration specifies the roles that can invoke the EJB's interface methods. You can specify permissions for the following combinations:
- All home and component interface methods of the named EJB
- A specified method of the home or component interface of the named EJB
- A specified method within a set of methods with an overloaded name