Commit Graph

76 Commits

Author SHA1 Message Date
Daniil Fedotov 8406c0cf77 Merge branch 'stable' into rabbitmq-auth-backend-ldap-15 2016-04-20 11:04:55 +01:00
Joseph Yiasemides f60fc8beea Test tag attribution with more suitable fixtures
These make testing against different backend configurations (for
access control) easier to read.
2016-04-19 13:30:45 +00:00
Joseph Yiasemides deaabf9990 DO NOT MERGE: Make tag query tests more like integration/system tests 2016-04-19 07:05:47 +00:00
Ayanda Dube 7e3e4fb4eb Cosmetics 2016-04-18 14:23:00 +01:00
Ayanda Dube 95b9fe8711 Adds success and failure tests for handling multiple attributes,
using the 'memberOf' attribute.

Adds filter lists per 'login' case.

Cosmetics.

Ref: #16.
2016-04-18 14:23:00 +01:00
Joseph Yiasemides 45a5ff0311 Test tag attribution by configuring from within the test-suite
Put the necessary configuration in the test itself, testing a more
complex assortment of tag queries, rather than in the configuration
file. Introduce another user into the LDAP server for this
test. Revert the `management` tag query, in the configuration file, to
a trivial constant query.
2016-04-14 14:20:48 +00:00
Michael Klishin e7ad5e6485 Merge branch 'stable' into rabbitmq-auth-backend-ldap-24 2016-03-26 05:27:52 -07:00
Joseph Yiasemides 2a1fc7d46f Use common placeholder names instead of former of current team members 2016-03-25 11:07:14 +00:00
Joseph Yiasemides 929f3f30ee Test the tags that should be recognised for a user
We were only testing for the absence of tags configured with the LDAP
plugin.
2016-03-18 14:52:03 +00:00
Joseph Yiasemides 58ca92a4ae Test that non-existent credentials fail to authenticate a client 2016-03-10 08:20:24 +00:00
Joseph Yiasemides 4ee2746430 Test with consistent use of macro substitution for username
Make it clear that credentials are not the subjects under test in
these negative cases by using the same macro that is used elsewhere.
2016-03-10 07:41:45 +00:00
Michael Klishin 83c22ce905 Update (c) info 2016-01-01 12:59:16 +03:00
Robby Raschke c599acdf33 Line things up a wee bit for consistency. 2015-10-05 18:17:50 +02:00
Robby Raschke a240ecca34 Add test cases for mixed authentication&authorisation modules, check tags. 2015-10-05 17:47:25 +02:00
Robby Raschke b862a6dfca Allow test to specify backends dynamically. 2015-10-05 14:57:28 +02:00
Michael Klishin 5fa779cdfa (c) year 2015-05-24 04:48:04 +03:00
Simon MacMullen 6989477b6e Oops 2015-01-09 13:23:21 +00:00
Simon MacMullen 20644f08d1 Fix fill escaping, plus a test. 2015-01-09 13:04:19 +00:00
Simon MacMullen 09d4acdc82 Update copyright for 2014 2014-03-17 17:25:20 +00:00
Simon MacMullen f586ddd335 dn_lookup_bind option, and rather more tests for the login phase. 2014-01-28 17:56:25 +00:00
Simon MacMullen 2cd07a3c07 Boolean logic, and some other small enhancements: an {equals, A, B} query which just compares strings for equality, and a shortcut ability to use a string constant "foo" instead of {string, "foo"}. 2013-08-07 17:02:12 +01:00
Simon MacMullen 8f70cf3ff5 s/VMware/GoPivotal/g 2013-07-01 10:49:10 +01:00
Emile Joubert a918b9ec5a Update copyright 2013 2013-01-23 11:24:23 +00:00
Emile Joubert d6d22dfd03 Update copyright 2012 2012-02-02 12:45:09 +00:00
Simon MacMullen f755a224b4 Let's make the query language more complicated (and featureful!)
This so needs better documentation...
2011-10-27 18:27:56 +01:00
Simon MacMullen 8b6ab83b18 Disgraceful that we didn't have automated tests for so long! These are still pretty simple, but will have to do. 2011-10-27 16:52:58 +01:00