Apply EJB method permissions
Example 1.5, “ element usage� provides complete examples of the element usage. Example 1.5. element usage The employee and temp-employee roles may access any method of the EmployeeService bean employee temp-employee EmployeeService * The employee role may access the findByPrimaryKey, getEmployeeInfo, and the updateEmployeeInfo(String) method of the AardvarkPayroll bean employee AardvarkPayroll findByPrimaryKey AardvarkPayroll getEmployeeInfo AardvarkPayroll updateEmployeeInfo java.lang.String The admin role may access any method of the EmployeeServiceAdmin bean admin EmployeeServiceAdmin * Any authenticated user may access any method of the EmployeeServiceHelp bean EmployeeServiceHelp * No fireTheCTO methods of the EmployeeFiring bean may be used in this deployment EmployeeFiring fireTheCTO