[jboss-jira] [JBoss JIRA] Resolved: (JBAS-8933) ClassCastException: org.jboss.security.plugins.auth.JaasSecurityManagerBase cannot be cast to org.jboss.security.AuthorizationManager

Marcus Moyses (JIRA) jira-events at lists.jboss.org
Fri Mar 11 09:24:45 EST 2011


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

Marcus Moyses resolved JBAS-8933.
---------------------------------

    Resolution: Done


Security domains should be set without the java:/jaas/ prefix in jboss-web.xml.
I added a fix to allow backward compatibility but it wasn't pushed to master yet.

> ClassCastException: org.jboss.security.plugins.auth.JaasSecurityManagerBase cannot be cast to org.jboss.security.AuthorizationManager
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-8933
>                 URL: https://issues.jboss.org/browse/JBAS-8933
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Security
>            Reporter: Richard Opalka
>            Assignee: Marcus Moyses
>             Fix For: 7.0.0.Beta1
>
>
> 11:25:50,200 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001:Failed to start service jboss.deployment.unit."jaxws-samples-wssecurity-username.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."jaxws-samples-wssecurity-username.war".INSTALL: Failed to process phase INSTALL of deployment "jaxws-samples-wssecurity-username.war"
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:109)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1367)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_20]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_20]
> 	at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
> Caused by: java.lang.ClassCastException: org.jboss.security.plugins.auth.JaasSecurityManagerBase cannot be cast to org.jboss.security.AuthorizationManager
> 	at org.jboss.as.web.deployment.WarDeploymentProcessor.getAuthorizationManager(WarDeploymentProcessor.java:203)
> 	at org.jboss.as.web.deployment.WarDeploymentProcessor.processDeployment(WarDeploymentProcessor.java:174)
> 	at org.jboss.as.web.deployment.WarDeploymentProcessor.deploy(WarDeploymentProcessor.java:89)
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:103)
> 	... 4 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list