summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/acl/AclReader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-281-25/+143
| | | | 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-271-0/+9
| | | | | | 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-031-8/+47
| | | | 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-041-130/+92
| | | | 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-171-466/+466
| | | | | | No code change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245660 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
* This commit contains a fix for QPID-2600Rajith Muditha Attapattu2010-05-121-26/+47
| | | | | | | | | | 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-271-12/+19
| | | | | | | | | 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
* Changed from using arrays to using vectors.Rajith Muditha Attapattu2010-04-231-19/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937119 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
* 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
* This commit contains the followingRajith Muditha Attapattu2009-09-111-100/+127
| | | | | | | | | | 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
* This is related to QPID-1558.Rajith Muditha Attapattu2009-01-071-0/+12
| | | | | | | 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
* Fix Acl references related to QPID-1368Stephen D. Huston2008-10-301-2/+2
| | | | 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-221-20/+24
| | | | | | | | 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
* Added a default value for param in authorize and lookup methods in Acl.h and ↵Rajith Muditha Attapattu2008-09-301-1/+3
| | | | | | | | | | | | | 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
* - fix 'all' user rules to match if not in user db.Carl C. Trieloff2008-09-191-0/+1
| | | | 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-107 Implementation for ACL for C++ brokerCarl C. Trieloff2008-09-021-15/+446
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691396 13f79535-47bb-0310-9956-ffa450edef68
* Initial framework for ACL readerKim van der Riet2008-08-011-0/+73
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@681824 13f79535-47bb-0310-9956-ffa450edef68