[
http://jira.jboss.com/jira/browse/JBMESSAGING-824?page=comments#action_12... ]
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