From: Remy M. <re...@us...> - 2004-06-30 11:35:01
|
User: remm Date: 04/06/30 04:34:54 Modified: src/main/org/jboss/security/jacc DelegatingPolicy.java Log: - Not returning anything caused CL issues when JACC was enabled. - The permissions associated with the codebase will need to be populated from the policy configuration. Revision Changes Path 1.3 +6 -2 jbosssx/src/main/org/jboss/security/jacc/DelegatingPolicy.java Index: DelegatingPolicy.java =================================================================== RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/jacc/DelegatingPolicy.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DelegatingPolicy.java 14 Mar 2004 04:50:29 -0000 1.2 +++ DelegatingPolicy.java 30 Jun 2004 11:34:54 -0000 1.3 @@ -17,7 +17,7 @@ /** * @author Sco...@jb... - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class DelegatingPolicy extends Policy { @@ -35,6 +35,9 @@ public boolean implies(ProtectionDomain domain, Permission permission) { + System.out.println("IMPLIES: " + permission); + Thread.dumpStack(); + boolean isJaccPermission = permission instanceof EJBMethodPermission || permission instanceof EJBRoleRefPermission || permission instanceof WebResourcePermission @@ -64,7 +67,8 @@ } else { - + // FIXME !! Populate from policy configuration + pc = delegate.getPermissions(cs); } return pc; } |