[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-824) queue smoke test fails

Ovidiu Feodorov (JIRA) jira-events at lists.jboss.org
Sat Feb 10 20:05:29 EST 2007


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-824?page=comments#action_12352784 ] 
            
Ovidiu Feodorov commented on JBMESSAGING-824:
---------------------------------------------

JaasSecurityManager doesUserHaveRole() method ignores the principal passed as argument and looks at thread local for security information, while MockSecurityManager uses it. This is why functional test suite passed and the smoke test failed.

Fixed the code and also added extra test to catch these kind of things earlier than the smoke tests.

org.jboss.test.thirdparty.jbosssx.SecurityAssociationTest.testGuestAuthorizedSend()
org.jboss.test.thirdparty.jbosssx.SecurityAssociationTest.testAuthorizedSend()

> queue smoke test fails
> ----------------------
>
>                 Key: JBMESSAGING-824
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-824
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: Tests and Performance
>            Reporter: Ovidiu Feodorov
>         Assigned To: Ovidiu Feodorov
>            Priority: Blocker
>             Fix For: 1.2.0.CR1, 1.0.1.SP4
>
>
> javax.jms.JMSSecurityException: User: null is not authorized to write to destination SmokeTestQueue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list