public class JaccPermissionsBuilder
extends java.lang.Object
Constructor and Description |
---|
JaccPermissionsBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addPossibleEjbMethodPermissions(java.security.PermissionCollection permissions,
java.lang.String ejbName,
java.lang.String methodInterface,
java.lang.Class clazz)
Generate all the possible permissions for a bean's interface.
|
PolicyContext |
build(EjbJarInfo ejbJar,
java.util.HashMap<java.lang.String,BeanContext> deployments) |
void |
install(PolicyContext policyContext) |
public void install(PolicyContext policyContext) throws OpenEJBException
OpenEJBException
public PolicyContext build(EjbJarInfo ejbJar, java.util.HashMap<java.lang.String,BeanContext> deployments) throws OpenEJBException
OpenEJBException
public void addPossibleEjbMethodPermissions(java.security.PermissionCollection permissions, java.lang.String ejbName, java.lang.String methodInterface, java.lang.Class clazz) throws OpenEJBException
EJBHome
and EJBObject
interfaces and/or
EJBLocalHome
and EJBLocalObject
interfaces).permissions
- the permission set to be extendedejbName
- the name of the EJBmethodInterface
- the EJB method interfaceclazz
- clazzOpenEJBException
- in case a class could not be found