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

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Jan 28 11:10:54 EST 2009


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

Thomas Diesler updated JBAS-6425:
---------------------------------

          Component/s: Security
    Affects Version/s: JBossAS-5.0.0.GA


> 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
>
> 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