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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 28 13:14:53 EST 2009


Author: thomas.diesler at jboss.com
Date: 2009-01-28 13:14:53 -0500 (Wed, 28 Jan 2009)
New Revision: 83575

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

Modified: branches/Branch_5_0/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java
===================================================================
--- branches/Branch_5_0/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java	2009-01-28 18:12:36 UTC (rev 83574)
+++ branches/Branch_5_0/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java	2009-01-28 18:14:53 UTC (rev 83575)
@@ -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