addPossibleEjbMethodPermissions
public void addPossibleEjbMethodPermissions(java.security.PermissionCollection permissions,
java.lang.String ejbName,
java.lang.String methodInterface,
java.lang.Class clazz)
throws OpenEJBException
Generate all the possible permissions for a bean's interface.
Method permissions are defined in the deployment descriptor as a binary
relation from the set of security roles to the set of methods of the
home, component, and/or web service endpoint interfaces of session and
entity beans, including all their superinterfaces (including the methods
of the EJBHome
and EJBObject
interfaces and/or
EJBLocalHome
and EJBLocalObject
interfaces).
- Parameters:
permissions
- the permission set to be extended
ejbName
- the name of the EJB
methodInterface
- the EJB method interface
clazz
- clazz
- Throws:
OpenEJBException
- in case a class could not be found