[jboss-jira] [JBoss JIRA] Reopened: (JBAS-6425) AbstractSecurityDeployer assumes VFSDeploymentUnit

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Feb 9 22:32:19 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-6425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reopened JBAS-6425:
------------------------------------



> AbstractSecurityDeployer assumes VFSDeploymentUnit
> --------------------------------------------------
>
>                 Key: JBAS-6425
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6425
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Security
>    Affects Versions: JBossAS-5.0.0.GA
>            Reporter: Thomas Diesler
>            Assignee: Anil Saldhana
>             Fix For: JBossAS-5.1.0.CR1, JBossAS-6.0.0.M3
>
>
> 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