Commit Graph

37 Commits

Author SHA1 Message Date
Michael Klishin ec4f1dba7d
(c) year bump: 2022 => 2023 2023-01-01 23:17:36 -05:00
Rin Kuryloski 94d99615c4 Relax rabbit_auth_cache_SUITE:random_timing a bit
as it flakes on windows in github actions
2022-12-08 08:57:50 +01:00
Simon Unge 09d84e6bd5 See #4842. Obfuscate impl value 2022-11-09 15:14:51 -08:00
Michael Klishin c38a3d697d
Bump (c) year 2022-03-21 01:21:56 +04:00
Michael Klishin 52479099ec
Bump (c) year 2021-01-22 09:00:14 +03:00
dcorbacho 1d61d72d00 Switch to Mozilla Public License 2.0 (MPL 2.0) 2020-07-10 19:57:18 +01:00
Jean-Sébastien Pédron ec82c5562d Update copyright (year 2020) 2020-03-10 16:01:03 +01:00
Arnaud Cogoluègnes 1b4acaf1f7 Propagate protocol-specific context
Information like MQTT client ID is now propagated to the authn/authz
backend for all authentication and authorization functions.

References rabbitmq/rabbitmq-server#1767
2019-06-03 17:06:41 +02:00
Daniil Fedotov c203f5094c Bigger timeouts to reduce false-positives 2019-04-09 18:09:48 -04:00
Jean-Sébastien Pédron 1160e3cc17 rabbit_auth_cache_SUITE: Bump `random_timing` expiry to 30 seconds
... from the inital 2 seconds expiry. This looked a bit too short in CI
where workers can be quite loaded.
2019-04-08 19:09:20 +02:00
Luke Bakken 8779cfda62 Ensure correct argument is passed for AuthzData 2019-03-22 10:41:06 -07:00
Spring Operator 683b6175ee URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://learnyousomeerlang.com/ets with 1 occurrences migrated to:
  https://learnyousomeerlang.com/ets ([https](https://learnyousomeerlang.com/ets) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.rabbitmq.com/configure.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/configure.html ([https](https://www.rabbitmq.com/configure.html) result 200).
* http://www.rabbitmq.com/plugin-development.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/plugin-development.html ([https](https://www.rabbitmq.com/plugin-development.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://rabbitmq.com/access-control.html with 3 occurrences migrated to:
  https://rabbitmq.com/access-control.html ([https](https://rabbitmq.com/access-control.html) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://www.mozilla.org/MPL/ with 8 occurrences migrated to:
  https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).

# Ignored
These URLs were intentionally ignored.

* http://127.0.0.1:8080/auth/resource with 1 occurrences
* http://127.0.0.1:8080/auth/user with 1 occurrences
* http://127.0.0.1:8080/auth/vhost with 1 occurrences
* http://localhost:8080/auth/resource with 1 occurrences
* http://localhost:8080/auth/user with 1 occurrences
* http://localhost:8080/auth/vhost with 1 occurrences
2019-03-20 03:11:34 -05:00
Luke Bakken 01fe415851 Support the cache_refusals conf setting
Fixes #17
2019-01-14 11:53:47 -08:00
Michael Klishin 2fb0c448c8 Accept authentication context in user_login_authorization/2
Part of rabbitmq/rabbitmq-server#1633.

[#158805410]
2018-07-04 12:42:24 +03:00
Daniil Fedotov e03a97a0e6 Reduce false-positive test failures by increasing timeouts 2018-06-04 11:14:03 +04:00
Daniil Fedotov 9b343894c1 Improve test error ouput. 2018-01-29 18:33:46 +00:00
Daniil Fedotov 0c6ac7e491 Fix segmented cache expiration timeouts. 2017-09-20 15:57:54 +01:00
Jean-Sébastien Pédron ac43db1a0b Makefile: Update to the best practices
The content of `rabbitmq_auth_backend_cache.app.src` is integrated into
the `Makefile`.

While here, move testsuites from `test/src` to `test.
2017-09-20 13:24:39 +02:00
Daniil Fedotov cd8e14fbf1 Merge branch 'stable' 2017-09-12 14:42:28 +01:00
Daniil Fedotov bd495cdac5 Tweak more timeouts in tests 2017-09-12 14:37:48 +01:00
Daniil Fedotov 6f9203220d Merge branch 'stable' 2017-09-12 14:21:15 +01:00
Daniil Fedotov d21439145d Tune timeout in tests.
This is not a recommended backend, so we don't care
if it's not precise.
2017-09-12 14:20:30 +01:00
Daniil Fedotov 54dcb14fed Merge branch 'stable' 2017-08-31 12:32:39 +01:00
Daniil Fedotov b43eb0d547 Support R16B03 2017-08-31 12:31:27 +01:00
Daniil Fedotov 3a1ea8fe83 Merge branch 'stable' 2017-08-31 11:42:19 +01:00
Daniil Fedotov bdd9e39b0e Add missing end_per_suite. 2017-08-31 11:41:58 +01:00
Daniil Fedotov 36e605b67b Config schema test for plugin
Part of [#141481501]
Moved from rabbitmq-server
2017-03-17 10:58:31 +00:00
Arnaud Cogoluègnes 26b7b26c2b Add read topic permission to tests
References rabbitmq/rabbitmq-server#1085
2017-02-06 10:31:00 +01:00
Arnaud Cogoluègnes 426218f0ef Support topic authorisation for publishing
References #5
Related to rabbitmq/rabbitmq-server#505 and rabbitmq/rabbitmq-server#1085
2017-01-31 16:59:40 +01:00
Arnaud Cogoluègnes 9aa74f6ffc Add acting user in tests 2017-01-31 14:22:08 +01:00
Jean-Sébastien Pédron beb23cb1b7 Testsuite: Adapt to the plugins-related changes in rabbit_ct_broker_helpers 2016-06-14 17:21:25 +02:00
Daniil Fedotov bdad054fd7 Specify plugins as list of atoms 2016-06-01 13:19:08 +01:00
Daniil Fedotov 34c6d5b807 Ensure cache backend is loaded 2016-06-01 13:13:07 +01:00
Daniil Fedotov e2b27f5e15 Garbage collected cache implementation with minimal gen_server use 2016-05-18 15:30:06 +01:00
Daniil Fedotov 7d101f2c95 Functional tests for auth backend 2016-05-17 17:00:17 +01:00
Daniil Fedotov 649efd9f06 Specify TTL in put 2016-05-17 15:12:30 +01:00
Daniil Fedotov a664302846 Basic cache tests 2016-05-17 11:35:08 +01:00