openejb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r592217 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/JaccPermissionsBuilder.java
Date Tue, 06 Nov 2007 00:55:12 GMT
Author: dain
Date: Mon Nov  5 16:55:11 2007
New Revision: 592217

URL: http://svn.apache.org/viewvc?rev=592217&view=rev
Log:
Some EJB webserives don't have a service interface and therefor use the bean class directly,
so we need to process the bean class methods when building the JACC permission objects.

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/JaccPermissionsBuilder.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/JaccPermissionsBuilder.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/JaccPermissionsBuilder.java?rev=592217&r1=592216&r2=592217&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/JaccPermissionsBuilder.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/JaccPermissionsBuilder.java
Mon Nov  5 16:55:11 2007
@@ -84,6 +84,7 @@
                     addPossibleEjbMethodPermissions(permissions, ejbName, type.getSpecName(),
interfce);
                 }
             }
+            addPossibleEjbMethodPermissions(permissions, ejbName, null, deployment.getBeanClass());
 
             addDeclaredEjbPermissions(ejbJar, enterpriseBean, null, permissions, policyContext);
 



Mime
View raw message