[jboss-cvs] JBossAS SVN: r83720 - branches/Branch_5_x/server/src/main/org/jboss/deployment/security.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Jan 31 08:34:30 EST 2009


Author: thomas.diesler at jboss.com
Date: 2009-01-31 08:34:30 -0500 (Sat, 31 Jan 2009)
New Revision: 83720

Modified:
   branches/Branch_5_x/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java
Log:
[JBAS-6425] AbstractSecurityDeployer assumes VFSDeploymentUnit

Modified: branches/Branch_5_x/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java
===================================================================
--- branches/Branch_5_x/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java	2009-01-31 12:53:53 UTC (rev 83719)
+++ branches/Branch_5_x/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java	2009-01-31 13:34:30 UTC (rev 83720)
@@ -143,7 +143,7 @@
       }
 
       // if policy registration has been set, check the deployments for XACML and ACL configuration files.
-      if (this.policyRegistration != null)
+      if (this.policyRegistration != null && unit instanceof VFSDeploymentUnit)
       {
          VFSDeploymentUnit deploymentUnit = (VFSDeploymentUnit) unit;
          try




More information about the jboss-cvs-commits mailing list