[jboss-cvs] JBossAS SVN: r83723 - trunk/server/src/main/org/jboss/deployment/security.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Jan 31 09:18:01 EST 2009


Author: thomas.diesler at jboss.com
Date: 2009-01-31 09:18:01 -0500 (Sat, 31 Jan 2009)
New Revision: 83723

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

Modified: trunk/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java	2009-01-31 14:14:24 UTC (rev 83722)
+++ trunk/server/src/main/org/jboss/deployment/security/AbstractSecurityDeployer.java	2009-01-31 14:18:01 UTC (rev 83723)
@@ -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