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

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Wed Jan 28 11:20:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12450061#action_12450061 ] 

Anil Saldhana commented on JBAS-6425:
-------------------------------------

Thomas,  I am not an expert with the vfs layer. One of the issues is that this sec deployer affects ejb2,ejb3 and web deployments. If we can get a simple test case that kind of replicates the issue you are having, we can ensure that there are no issues.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205310#4205310

> 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