summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/acl
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-2814-215/+729
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated code to include recent refactoring by Gordon (gsim) - see ↵Kim van der Riet2012-08-277-12/+246
| | | | | | QPID-4178. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1377715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1368650Kim van der Riet2012-08-0313-140/+438
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1368910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1333987Kim van der Riet2012-05-0412-446/+1193
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1334037 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA ACL whitespace police.Charles E. Rolke2012-02-175-967/+967
| | | | | | No code change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245660 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-121-1/+1
| | | | | | | | node. Disabled ACL during cluster update process. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182451 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - ACL Modules "reload" method now returns OK status if there was no ↵Ted Ross2011-03-231-1/+4
| | | | | | error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1084768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2916: throw an exception when a data value cannot be encoded correctly ↵Kenneth Anthony Giusti2010-10-281-2/+2
| | | | | | as its type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028501 13f79535-47bb-0310-9956-ffa450edef68
* Consistent comparison of unsigned values; clarify usage as well as removing ↵Stephen D. Huston2010-06-171-1/+2
| | | | | | potential bad compare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955749 13f79535-47bb-0310-9956-ffa450edef68
* Fix unreferenced variable warnings on Windows build.Stephen D. Huston2010-06-112-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@953523 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains a fix for QPID-2600Rajith Muditha Attapattu2010-05-122-27/+48
| | | | | | | | | | Added a test case to check if all allowed chars are accepted and the rest is rejected. Added a check for empty continuation lines. Improved error reporting by adding a line number. Removed test_allowed_chars_for_username method from acl.py as the check for group name will flag the "@" char, making this test case redundent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943351 13f79535-47bb-0310-9956-ffa450edef68
* Reverting the change made in rev937119 as it seems to cause a core dump in ↵Rajith Muditha Attapattu2010-04-275-62/+78
| | | | | | | | | RHEL5. I haven't managed to pin point the issue. Once I do I may introduce the fix again with the required changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1904: Ensure that all timestamp uses are correctly relative to 1/1/1970 ↵Andrew Stitcher2010-04-231-1/+1
| | | | | | | | | | epoch. - Removed the hacky way to access the internal time value in AbsTime now that there is a defined AbsTime value EPOCH. - Changed all the code to use Duration(EPOCH, abtime) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2523Rajith Muditha Attapattu2010-04-232-6/+20
| | | | | | | I added a mutex to protect the boost shared pointer assignments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937120 13f79535-47bb-0310-9956-ffa450edef68
* Changed from using arrays to using vectors.Rajith Muditha Attapattu2010-04-235-78/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937119 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2521Rajith Muditha Attapattu2010-04-201-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936028 13f79535-47bb-0310-9956-ffa450edef68
* Simplified the vaidate method using for_each to make it more readable.Rajith Muditha Attapattu2010-04-122-49/+56
| | | | | | | Also renamed AclProperty to PropertyType to avoid any confusion with acl::Property. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933417 13f79535-47bb-0310-9956-ffa450edef68
* Adding virtual destructors.Rajith Muditha Attapattu2010-04-091-0/+3
| | | | | | | The virtual dtor warning is not given on fedora 11 but is on rhel5, so I missed it the first time around. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932416 13f79535-47bb-0310-9956-ffa450edef68
* Committing the patch attached to QPID-2488Rajith Muditha Attapattu2010-04-083-0/+227
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932148 13f79535-47bb-0310-9956-ffa450edef68
* Be sure not to back off the beginning of rules in loadDecisionData(). ↵Stephen D. Huston2010-04-061-130/+139
| | | | | | | | Resolves QPID-2474. Also replaced tabs with spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931345 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-311-2/+3
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929716 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2413 Rajith Muditha Attapattu2010-02-183-11/+38
| | | | | | | | Added a mechanism to catch the lexical cast errors and print an error message. I also fixed up some formatting as well. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911509 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2297Rajith Muditha Attapattu2010-01-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898016 13f79535-47bb-0310-9956-ffa450edef68
* Add definition of int64_t (required by gcc 4.4.1)Gordon Sim2009-09-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820252 13f79535-47bb-0310-9956-ffa450edef68
* I have applied the patch attached to QPID-2108 from Tim Platten with a few ↵Rajith Muditha Attapattu2009-09-291-29/+79
| | | | | | | | | | | modifications. (Please refer to the JIRA for a description of these modifications) I also fixed the formatting and added more debug loggging for the publish acl lookup method in AclData.cpp I also added test cases to cover QPID-2108 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819948 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains the followingRajith Muditha Attapattu2009-09-113-135/+195
| | | | | | | | | | 1. Applying patches from Tim Platten attched to QPID-2062 and QPID-2063 2. Fixed QPID-2098 3. Added test cases for QPID-2062 and QPID-2063 4. Added more user friendly logging for ACL rule processing and lookup methods. In debug mode the logging should now provide more visibility into how rules are evaluated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813850 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1843 - Cleaned up the interface to the broker's internal management agent.Ted Ross2009-05-112-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773570 13f79535-47bb-0310-9956-ffa450edef68
* Remove useless qpid/shared_ptr.h wrapper.Alan Conway2009-05-063-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772294 13f79535-47bb-0310-9956-ffa450edef68
* Some more fixes to build under Visual Studio 2008Andrew Stitcher2009-05-031-1/+2
| | | | | | | Remove some simple Visual Studio 2008 warnings Fix qmfconsole build under Windows and CMake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771020 13f79535-47bb-0310-9956-ffa450edef68
* AclPlugin: Use --acl-file unmodified if --no-data-dir.Alan Conway2009-03-061-9/+4
| | | | | | | SessionId: print as userid.sessionid rather than sessionid@userid. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750913 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1558.Rajith Muditha Attapattu2009-01-072-2/+15
| | | | | | | The test case test_group_and_user_with_same_name covers the error condition in QPID-1545 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732466 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1545Rajith Muditha Attapattu2008-12-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728880 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1523Rajith Muditha Attapattu2008-12-101-4/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725303 13f79535-47bb-0310-9956-ffa450edef68
* Applied name convention to class names: Capitalized names.Ted Ross2008-12-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724872 13f79535-47bb-0310-9956-ffa450edef68
* Removed the --enforce-acl option. Instead if a policy file is specified acl ↵Rajith Muditha Attapattu2008-11-063-26/+21
| | | | | | | | | will be enabled. Also removed Route from the Object list and did a bit of code cleanup. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711957 13f79535-47bb-0310-9956-ffa450edef68
* Fix Acl references related to QPID-1368Stephen D. Huston2008-10-302-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709293 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1362Rajith Muditha Attapattu2008-10-224-39/+48
| | | | | | | | When loading an acl file, errors are catured in an ostringstream and is loggged and added to the management event description If reload is called via a remote agent, this error description is sent as the result text. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706849 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1327 - Added severity field to events, cleaned up routing key usageTed Ross2008-10-081-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702977 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1327 - Event support for ManagementTed Ross2008-10-073-35/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702651 13f79535-47bb-0310-9956-ffa450edef68
* Added a default value for param in authorize and lookup methods in Acl.h and ↵Rajith Muditha Attapattu2008-09-303-3/+5
| | | | | | | | | | | | | AclData.h. This enables the user to call authorize and lookup safely without having to pass params. Fixed a minor bug in AclReader.cpp to allow the following permission "acl allow <group or user> all <object_type>" git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@700524 13f79535-47bb-0310-9956-ffa450edef68
* correction to last commitCarl C. Trieloff2008-09-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697207 13f79535-47bb-0310-9956-ffa450edef68
* - fix 'all' user rules to match if not in user db.Carl C. Trieloff2008-09-192-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697191 13f79535-47bb-0310-9956-ffa450edef68
* Added ability to have '@' char in ACL nameKim van der Riet2008-09-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - Changed C++ namespace for generated management code. Improved ↵Ted Ross2008-09-153-25/+23
| | | | | | efficiency of generated functions to use const references for non-simple types. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-106Carl C. Trieloff2008-09-123-8/+66
| | | | | | | | | | | | - Added mgnt schema - Added ability to reload ACL file - Added events for ACL deny - Added stats for ACL. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694778 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - qmf-gen can now generate code from multiple schema files. Uses ↵Ted Ross2008-09-092-31/+48
| | | | | | __file__ as a better way to locate data files. Added code generation for ACL schema. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693523 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 swap the enforce defualt to ACL has to be turned on. So defualt ↵Carl C. Trieloff2008-09-043-6/+6
| | | | | | install can do something... git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692217 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107, adding schema for managing ACL pluginCarl C. Trieloff2008-09-031-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691623 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 Implementation for ACL for C++ brokerCarl C. Trieloff2008-09-026-80/+776
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691396 13f79535-47bb-0310-9956-ffa450edef68
* correct action on purge & remove ROUTINGKEY typeCarl C. Trieloff2008-08-061-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@683087 13f79535-47bb-0310-9956-ffa450edef68