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

Richard Opalka (JIRA) jira-events at lists.jboss.org
Wed Mar 9 05:40:45 EST 2011


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

Richard Opalka commented on JBAS-8933:
--------------------------------------

<opalka> rmaucher, jfclere Did U see this issue before? - http://fpaste.org/8GH5/
<rmaucher> yes, it's caused by the new security code
<rmaucher> but I don't know how to fix it ;)
<emuckenhuber> afaik shelly filed a jbcts issue for this as well
<opalka> rmaucher, NP, just wanted to hear if it's known or not ;)
* opalka 's excluding tests for now ...
<rmaucher> I don't actually know how to port the security config for AS 7 and the TCK, at the moment
<opalka> rmaucher, :(
<rmaucher> feedback has been to avoid using JNDI to pass around components, like security is doing right now
<opalka> rmaucher, Is there a JBAS JIRA for that? 
<rmaucher> I don't know ;)
<opalka> rmaucher, OK, thx

> 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: Anil Saldhana
>             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