org.apache.openejb.assembler.classic
Class JaccPermissionsBuilder
java.lang.Object
org.apache.openejb.assembler.classic.JaccPermissionsBuilder
public class JaccPermissionsBuilder
- extends Object
- Version:
- $Rev: 640595 $ $Date: 2008-03-24 22:48:10 +0100 (Mo, 24. M��r 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaccPermissionsBuilder
public JaccPermissionsBuilder()
install
public void install(PolicyContext policyContext)
throws OpenEJBException
- Throws:
OpenEJBException
build
public PolicyContext build(EjbJarInfo ejbJar,
HashMap<String,DeploymentInfo> deployments)
throws OpenEJBException
- Throws:
OpenEJBException
addPossibleEjbMethodPermissions
public void addPossibleEjbMethodPermissions(Permissions permissions,
String ejbName,
String methodInterface,
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 extendedejbName
- the name of the EJBmethodInterface
- the EJB method interface
- Throws:
OpenEJBException
- in case a class could not be found
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.