public class JaccPermissionsBuilder extends Object
| Constructor and Description |
|---|
JaccPermissionsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPossibleEjbMethodPermissions(PermissionCollection permissions,
String ejbName,
String methodInterface,
Class clazz)
Generate all the possible permissions for a bean's interface.
|
PolicyContext |
build(EjbJarInfo ejbJar,
HashMap<String,BeanContext> deployments) |
void |
install(PolicyContext policyContext) |
public void install(PolicyContext policyContext) throws OpenEJBException
OpenEJBExceptionpublic PolicyContext build(EjbJarInfo ejbJar, HashMap<String,BeanContext> deployments) throws OpenEJBException
OpenEJBExceptionpublic void addPossibleEjbMethodPermissions(PermissionCollection permissions, String ejbName, String methodInterface, 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 foundCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.