Commit Graph

370 Commits

Author SHA1 Message Date
Gerhard Lazu d628a6dfcf Update rabbitmq-components.mk 2020-03-06 09:19:13 +00:00
Gerhard Lazu 41609a604d Update erlang.mk 2020-03-06 09:17:15 +00:00
Jean-Sébastien Pédron a5b819719a Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:26 +01:00
Jean-Sébastien Pédron 03d739bbea Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:13 +01:00
Jean-Sébastien Pédron 9900030ac9 Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:36 +01:00
Michael Klishin d280e96139 Add some essential debug logging of requests issued
Per rabbitmq-users feedback.
2020-02-29 19:42:01 +03:00
Michael Klishin 388ad7270a Django example: white list localhost 2020-02-29 19:40:50 +03:00
Gerhard Lazu 52c85554b2 Update rabbitmq-components.mk 2020-02-11 15:31:41 +00:00
Michael Klishin c7176c9123 (c) bump 2019-12-29 05:50:24 +03:00
Jean-Sébastien Pédron bc9c1bde44 Git: Ignore copied CLI 2019-12-12 13:23:11 +01:00
Jean-Sébastien Pédron 624cc77daf Update rabbitmq-components.mk 2019-12-12 13:14:51 +01:00
kjnilsson a05f8bf7f7 Update rabbitmq-components.mk 2019-09-13 10:24:13 +01:00
kjnilsson c194e97d92 Update rabbitmq-components.mk 2019-09-04 10:30:51 +01:00
Jean-Sébastien Pédron 51bb4c8a24 Update erlang.mk 2019-08-29 20:44:46 +02:00
Michael Klishin 4366607126 Update rabbitmq-components.mk 2019-08-11 01:47:47 +10:00
Jean-Sébastien Pédron d5add9d171 Update erlang.mk 2019-08-02 09:53:27 +02:00
Michael Klishin bd47c06b4d Update rabbitmq-components.mk 2019-08-01 17:13:08 +03:00
Luke Bakken fecb9e4c86 Add GitHub templates
And LICENSE file.

Related to rabbitmq/rabbitmq-auth-backend-oauth2#33
2019-07-18 14:35:22 -07:00
Arnaud Cogoluègnes 7b1c4bed68 Update rabbitmq-components.mk 2019-07-09 16:05:49 +02:00
Michael Klishin a484ede8f8 Adapt to rabbit_authz_backend interface changes
from rabbitmq/rabbitmq-auth-backend-oauth2#28.
2019-07-03 09:54:14 +02:00
Jean-Sébastien Pédron 915d050983 Update rabbitmq-components.mk 2019-06-28 16:05:24 +02:00
Jean-Sébastien Pédron 7ba5c6c6c7 Update erlang.mk 2019-06-28 16:01:39 +02:00
Michael Klishin 1ebd2c1142 examples/README edits 2019-06-26 20:56:21 +02:00
Michael Klishin 4fe092b7cb Wording 2019-06-26 20:49:33 +02:00
Zdzislaw Krajewski 926fc1c503 Add docker files, update readme 2019-06-26 18:43:25 +02:00
Zdzislaw Krajewski 61a3d64903 Disable csfr check, update allowed hostname in settings, setup looging 2019-06-26 18:09:05 +02:00
Arnaud Cogoluègnes 8afaae411a Add Maven wrapper to Spring Boot example 2019-06-14 11:00:24 +02:00
Arnaud Cogoluègnes 90ea9f76cd Add debug interceptor to Spring Boot example
To log HTTP parameters.
2019-06-14 10:48:03 +02:00
Arnaud Cogoluègnes ff2ed6e831 Propagate protocol-specific context to HTTP backend
Information like MQTT client ID is now propagated to the backend for
all authentication and authorization functions.

References rabbitmq/rabbitmq-server#1767
2019-06-03 14:35:53 +02:00
Arnaud Cogoluègnes e0f65364c7 Add topic URL in example readme 2019-06-03 14:26:29 +02:00
Gerhard Lazu b386f03135 Update rabbitmq-components.mk 2019-06-03 02:23:31 +01:00
Michael Klishin f7b12f8fe8 Update error message in the assertion 2019-05-24 06:52:08 +01:00
Michael Klishin 9b332d1868 Error message wording 2019-05-23 10:35:21 +01:00
Szympon Mentel bc88164b0a Correctly recognise when access is denied for user
So far, the "deny" resopnse from an HTTP authentication server was parsed
as a string while an atom was expected. As a result, if the server denied
a user it simply happend to work as the plugin would return an error
because of the type mismatch and the user would not be accepted anyway.
2019-05-22 15:17:17 +02:00
Szympon Mentel 63f496b75d Add tests for user authentication
In the tests a mock of an HTTP authenticaiton server is started.
2019-05-22 15:16:45 +02:00
Jean-Sébastien Pédron 4ad3b386b3 Update rabbitmq-components.mk 2019-05-17 15:17:13 +02:00
Michael Klishin 7da2a913db Update rabbitmq-components.mk 2019-05-17 08:36:21 +03:00
Michael Klishin e885cf9ec4 Update rabbitmq-components.mk 2019-05-16 23:22:42 +03:00
Michael Klishin ebc92c1402 Update rabbitmq-components.mk 2019-05-14 11:50:38 +03:00
Michael Klishin c8cbb0fd12 Update rabbitmq-components.mk 2019-05-13 16:40:24 +03:00
Gerhard Lazu b17a10f63b Update rabbitmq-components.mk 2019-05-01 13:18:07 +01:00
Luke Bakken edc9cbf4ea Update rabbitmq-components.mk 2019-04-30 16:20:53 -07:00
Jean-Sébastien Pédron 2b522864f8 Update rabbitmq-components.mk 2019-04-30 14:47:25 +02:00
soumen1102 a08696e42b Updated Readme.md to include HTTP Method in conf
The rabbitmq.conf section in new format is missing the inclusion of HTTP METHOD due to which it default to a Get call and does not work for controller methods defined for HttpPost . This what most of the examples in the repo outline as well for the AuthBackend.
2019-04-24 16:51:39 +05:30
Gerhard Lazu 7d5aaeee29 Update rabbitmq-components.mk 2019-04-22 21:54:58 +01:00
Luke Bakken 4e96813930 Take peeraddr as binary() into account 2019-03-25 15:10:45 -07:00
Luke Bakken 68c70c006a Ensure tuple IP is formatted correctly 2019-03-22 16:07:14 -07:00
Luke Bakken c76a927b5c Remove unused code 2019-03-22 10:32:56 -07:00
Luke Bakken 0fa8c8bc41 Modify check_vhost_access/3 to use map of data
Part of rabbitmq/rabbitmq-auth-backend-cache#20
2019-03-22 07:24:19 -07:00
Michael Klishin c605647faf Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:12 +03:00
Spring Operator 05d0e87fb7 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).

# Fixed URLs

## 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://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 4 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences
2019-03-19 20:08:13 -05:00
Michael Klishin 6c39002dc8 Update rabbitmq-components.mk 2019-03-15 05:32:45 +03:00
Michael Klishin bff39e9a89 Update rabbitmq-components.mk 2019-03-15 05:05:36 +03:00
Spring Operator d5aedc93c1 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).

# Fixed URLs

## 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://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-11 21:51:04 -05:00
Michael Klishin 0f6c93d806 README updates 2019-02-27 21:42:48 +03:00
Michael Klishin d47c658220 Post space-separated tags, add tests 2019-02-27 21:10:25 +03:00
Michael Klishin 7ae6bbbabe Bump Spring Boot dependency 2019-02-27 21:10:25 +03:00
romerod 30e8a3f31c Pass tags to http backends 2019-02-27 21:10:25 +03:00
Michael Klishin 7fb530291c Update README.md 2019-02-27 17:38:44 +03:00
Michael Klishin 04b2d50591 Update rabbitmq-components.mk 2019-02-12 23:23:46 +03:00
Michael Klishin 3c7157d011 .travis.yml: use 21.2 as 21.2.2 builds are no available 2019-01-14 01:20:17 +03:00
Michael Klishin d1e9bc2cb8 .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:49:56 +03:00
Luke Bakken c94ad8265a Update rabbitmq-components.mk 2019-01-09 12:54:53 -08:00
Luke Bakken b41112b210 Update rabbitmq-components.mk 2019-01-08 11:58:23 -08:00
Michael Klishin e1fa5f83df Update rabbitmq-components.mk 2018-12-06 18:28:38 +03:00
Michael Klishin 716a122be4 Update rabbitmq-components.mk 2018-12-06 03:15:04 +03:00
Jean-Sébastien Pédron 4a9dc500de Update rabbitmq-components.mk 2018-11-30 14:56:44 +01:00
Jean-Sébastien Pédron 79639af126 Update rabbitmq-components.mk 2018-11-22 09:19:29 +01:00
Andrey Somov 42a0959883 Refactor: remove AuthController.check() since it is used only once 2018-11-05 11:47:26 +01:00
Arnaud Cogoluègnes 7e6f7d3879 Upgrade Spring Boot example to Spring Boot 2.1.0 2018-11-05 11:13:23 +01:00
Arnaud Cogoluègnes 730ea81303 Polish Spring Boot Kotlin example
Add readme, use guest/guest for sample user, lower log level, return
tags to be able to use the backend for the management UI, enforce topic
permission with routing key start with "a" rule.
2018-11-05 10:44:20 +01:00
Andrey Somov a186ec7f4b Add test for deny 2018-11-02 13:23:32 +01:00
Andrey Somov 0dfb891284 Improve CSRF configuration 2018-11-02 10:11:49 +01:00
Andrey Somov a29e914dff Minor log change 2018-11-01 23:29:33 +01:00
Andrey Somov 1277f1752b Use Kotlin 1.3.0 2018-11-01 23:28:30 +01:00
Andrey Somov 16c83d4ccf Simplify AuthController 2018-11-01 23:19:46 +01:00
Andrey Somov 7361732cf4 Rename Kotlin project to use underscores as other examples 2018-11-01 23:10:26 +01:00
Andrey Somov d4f2db91b0 Implement and test all POST methods 2018-11-01 23:01:26 +01:00
Andrey Somov 07727cd3a0 Implement POST method 2018-11-01 22:38:57 +01:00
Andrey Somov e369afe076 Add controller and its test 2018-11-01 22:38:51 +01:00
Andrey Somov 72b5c7c34f Rename classes to be shorter 2018-11-01 22:37:47 +01:00
Andrey Somov 5abc015ba5 Rename package to be shorter 2018-11-01 22:36:51 +01:00
Andrey Somov c08f2202c8 Add Kotlin project created by SPRING INITIALIZR 2018-11-01 22:31:19 +01:00
kjnilsson bb385dd898 Update rabbitmq-components.mk 2018-10-29 12:43:13 +00:00
Jean-Sébastien Pédron 0bfeabd494 Update rabbitmq-components.mk 2018-09-19 10:38:10 +02:00
Jean-Sébastien Pédron afc423aae3 Update rabbitmq-components.mk 2018-09-11 14:22:23 +02:00
Jean-Sébastien Pédron 8240d92632 Update rabbitmq-components.mk 2018-08-09 17:44:09 +02:00
Jean-Sébastien Pédron f8be55cad8 Update rabbitmq-components.mk 2018-08-09 12:16:56 +02:00
Michael Klishin 81a41fc1ba More README edits 2018-07-30 00:51:34 +03:00
Michael Klishin 3901b4e28e Wording and README edits 2018-07-30 00:45:33 +03:00
Xneg 20f5896e88 * Updated Readme. 2018-07-29 15:13:24 +03:00
xneg 5375c17267 * Added standard logging.
* Changed user checked response for correct tags placement.
2018-07-26 12:42:56 +03:00
xneg 4041017394 ASP .NET Core 2.1 example 2018-07-24 11:37:42 +03:00
xneg 1ab5a71b3a Added a missing type declaration. 2018-07-11 19:37:49 +03:00
Michael Klishin 8d6ee4051d Accept authentication context in user_login_authorization/2
Part of rabbitmq/rabbitmq-server#1633.

[#158805410]
2018-07-03 23:30:53 +03:00
Jean-Sébastien Pédron c0063e187a Update rabbitmq-components.mk 2018-06-07 11:31:30 +02:00
Michael Klishin 9926f5493d Add a second user to the Spring Boot example 2018-05-16 22:39:59 -03:00
Michael Klishin deacd34548 Manually apply #68 with reduced duplication
Closes #68.
2018-05-16 21:49:51 -03:00
Luke Bakken 3ec7af16b1 Ensure that BOM is not sent in UTF8-encoded response 2018-04-25 15:17:24 -07:00
Jean-Sébastien Pédron 0c113d9868 Update erlang.mk 2018-04-11 10:52:35 +02:00