SimpleACLTest is not accurate enough
------------------------------------

                 Key: QPID-1204
                 URL: https://issues.apache.org/jira/browse/QPID-1204
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker, Java Client, Java Tests
    Affects Versions: M3
            Reporter: Martin Ritchie


Summary:

The SimpleACLTest is not comprehensive enough. e.g.

testServerPublishInvalidQueueSuccess

Is designed to test that the user 'server' cannot publish to an invalid queue. 
It doesn't test this!

Due to the fact that send now validates the destination before publication this 
test is actually checking to see if the user 'server' can declare an exchange.

Protocol logging in comments.

Suggested Change:

Our Exceptions from the broker should contain more detail about the cause of 
the error .. 'Access Denied to Exchange' for example so this test can check for 
'Acecess Denied to Publish' 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to