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

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Thu Mar 19 15:48:25 EDT 2009


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

Anil Saldhana closed JBAS-6425.
-------------------------------

    Resolution: Done


Updated Branch_5x as well as AS trunk.

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