org.apache.openejb.assembler.classic
Class JaccPermissionsBuilder
java.lang.Object
org.apache.openejb.assembler.classic.JaccPermissionsBuilder
public class JaccPermissionsBuilder
- extends java.lang.Object
- Version:
- $Rev: 941800 $ $Date: 2010-05-06 18:45:02 +0200 (Do, 06. Mai 2010) $
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,
java.util.HashMap<java.lang.String,DeploymentInfo> deployments)
throws OpenEJBException
- Throws:
OpenEJBException
addPossibleEjbMethodPermissions
public void addPossibleEjbMethodPermissions(java.security.Permissions 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 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.