-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4525/
-----------------------------------------------------------
(Updated 2012-03-30 15:54:07.491139)
Review request for qpid, Alan Conway, Gordon Sim, and rajith attapattu.
Changes
-------
1. Don't log module load.
2. Check in unrelated bug fixes separately.
3. Change function try/catch scheme: Just have one try/catch. Change 'throw
str' exception generation to 'throw qpid::Exception(str)' and then catch only
std::exception.
There was some push back to exclude this patch: it does not add to the function
of a broker and becomes one more piece of unrelated code that fails to be
maintained. An alternative is to create a separate library or executable that
loads acl.so and implements the query functions there. This has the possibility
of loading any acl.so and to give query results from any version of qpidd.
I favor keeping this patch not just because it's complete and ready to go.
Adding the proposed library or executable is a much larger task and is likely
'not worth doing'. This patch is very focused and exists in an optional,
loadable module; as such it doesn't burden the broker at run-time or change any
of its performance characteristics. Also, by being in the broker itself it can
never give wrong results because it loaded the wrong acl.so file.
Summary
-------
Add management methods that let a customer drive arbitrary ACL lookup queries.
This addresses bug QPID-3918.
https://issues.apache.org/jira/browse/QPID-3918
Diffs (updated)
-----
trunk/qpid/cpp/src/qpid/acl/Acl.h 1307073
trunk/qpid/cpp/src/qpid/acl/Acl.cpp 1307073
trunk/qpid/cpp/src/qpid/acl/management-schema.xml 1307073
trunk/qpid/cpp/src/qpid/broker/AclModule.h 1307073
Diff: https://reviews.apache.org/r/4525/diff
Testing
-------
Thanks,
Chug