[jboss-jira] [JBoss JIRA] Updated: (JBAS-4637) Fix org.jboss.test.jbossmessaging.SecurityUnitTestCase

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Thu Feb 7 16:03:03 EST 2008


     [ http://jira.jboss.com/jira/browse/JBAS-4637?page=all ]

Shelly McGowan updated JBAS-4637:
---------------------------------

    Summary: Fix org.jboss.test.jbossmessaging.SecurityUnitTestCase  (was: Fix org.jboss.test.messaging.* tests)

The failures that remain are:
testAuzInvalidQueueBrowser
testAuzInvalidQueueReceiver
testAuzInvalidQueueReceiverTransaction
testAuzInvalidQueueSender
testAuzInvalidQueueSenderTransaction
testAuzInvalidTopicPublisher
testAuzInvalidTopicPublisherTransaction
testAuzInvalidTopicSubscriber
testAuzInvalidTopicSubscriberTransaction

These tests expect a javax.jms.SecurityException to be thrown on the
attempt to make an unauthorized call to a topic or queue.   The user,
nobody, should not be allowed access, but is, therefore no exception is thrown.

INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('nobody', 'nobody')
INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('noacc','nobody')

[org.jboss.jms.server.security.SecurityMetadataStore] authenticating user
nobody
[org.jboss.jms.server.security.SecurityMetadataStore] authorizing user nobody
for role(s) [durpublisher, publisher, guest]
[org.jboss.jms.server.security.SecurityMetadataStore] user nobody is
authorized


> Fix org.jboss.test.jbossmessaging.SecurityUnitTestCase
> ------------------------------------------------------
>
>                 Key: JBAS-4637
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4637
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>            Reporter: Dimitris Andreadis
>         Assigned To: Shelly McGowan
>             Fix For: JBossAS-5.0.0.CR1
>
>
> http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/20070825220010/results/index.html
> The failing messaging tests need to be looked-up and further qualified or fixed. The failures are not necessarily messaging related:
> SecurityUnitTestCase 30 0 9 21.235 
> SecurityUnitTestCase(tests-jbossmessaging) 30 0 10 33.938 
> SessionCloseStressTestCase(tests-standard-stress) 1 1 0 0.000 
> UnackedUnitTestCase

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