[jboss-jira] [JBoss JIRA] Created: (SECURITY-350) AbstractSecurityDeployer assumes VFSDeploymentUnit
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Wed Jan 28 11:00:44 EST 2009
AbstractSecurityDeployer assumes VFSDeploymentUnit
--------------------------------------------------
Key: SECURITY-350
URL: https://jira.jboss.org/jira/browse/SECURITY-350
Project: JBoss Security and Identity Management
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Assignee: Anil Saldhana
Caused by: java.lang.ClassCastException: org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit cannot be cast to org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit
at org.jboss.deployment.security.AbstractSecurityDeployer.deploy(AbstractSecurityDeployer.java:148)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
In AbstractSecurityDeployer this code
// if policy registration has been set, check the deployments for XACML and ACL configuration files.
if (this.policyRegistration != null)
{
VFSDeploymentUnit deploymentUnit = (VFSDeploymentUnit) unit;
assumes that you pass in a VFSDeploymentUnit
... it might mean you cannot deploy WebMetaData dynamically in AS50
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list