Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5, 0.6
-
None
Description
Qpid ACL properties maxqueuesize, maxqueuecount, policytype, ... currently accepts invalid values.
Only valid ACL rules should be applied, at the moment broker throws an exception at the point when invalid ACL rule is triggered.
How reproducible:
Always
Steps to Reproduce:
#set ACL rules vith invalid values
acl allow tester@QPID all queue maxqueuesize=18446744073709551617
acl allow tester@QPID all queue maxqueuesize=-1
acl allow tester@QPID all queue policytype=invalid_policy_type
Actual results:
ACL rules with invalid rules/values are processed without any error message.
qpidd.log:
2009-oct-23 07:11:56 debug ACL Processing 1 allow [tester@QPID] * queue
maxqueuesize=18446744073709551617
2009-oct-23 07:11:56 debug ACL: Adding actions
to objects
{queue}with props
{ maxqueuesize=18446744073709551617 }for users
{tester@QPID}...
Expected results:
ACL rules with invalid property values should not be processed