Commit Graph

180 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron 97f6a61434 Update rabbitmq-components.mk 2020-07-21 12:07:56 +02:00
Michael Klishin 391115a570 Update rabbitmq-components.mk 2020-07-21 03:42:44 +03:00
dcorbacho b471122e9b Revert drop of Exhibit B on MPL 2.0 2020-07-20 16:57:22 +01:00
dcorbacho 2bf9d30638 Update LICENSE 2020-07-20 10:41:31 +01:00
Michael Klishin 3c8c33c438 Update MPL2 license file, drop Exhibit B
and add a VMware copyright notice.

We did not mean to make this code Incompatible with Secondary Licenses
as defined in [1].

1. https://www.mozilla.org/en-US/MPL/2.0/FAQ/
2020-07-17 14:53:04 +03:00
dcorbacho f0d39cb4e2 Switch to Mozilla Public License 2.0 (MPL 2.0) 2020-07-10 20:27:35 +01:00
Jean-Sébastien Pédron bf17f5de89 Update erlang.mk 2020-06-23 17:13:24 +02:00
Michael Klishin 474c0fc1b6 Bump Recon to 2.5.1
for Erlang 23 compatibility of 'rabbitmq-diagnostics observer'

References zhongwencool/observer_cli#68.
2020-06-09 08:22:12 +03:00
Michael Klishin 6ebf80174d Update README.md 2020-05-19 21:08:43 +03:00
Michael Klishin 9776180291 Reword a confusing sentence 2020-05-19 21:03:54 +03:00
Michael Klishin ab8df7c70c Update README.md 2020-04-29 18:19:16 +03:00
Michael Klishin a366fc49ec Update README.md 2020-04-29 18:18:30 +03:00
Jean-Sébastien Pédron 7dcc11cdfd Update copyright (year 2020) 2020-03-10 16:05:48 +01:00
Michael Klishin d8b77afceb Merge pull request #45 from rabbitmq/rsa_keys
Improve error messages for verification failures with RSA keys
2020-03-10 00:23:33 +03:00
Philip Kuryloski 28080e1e2c Log authentication rejection messages
Normally when auth fails, we simply log that it failed for a given
username. Since the username is ignored with the auth mechanism,
this does not provide sufficient context for debugging config
errors.
2020-03-09 12:49:48 +01:00
Philip Kuryloski 37d9a2bf77 Add a docker based example of rsa_keys
Add a simpler way of demonstrating asymmetric keys, where only
docker is required.
2020-03-09 12:49:48 +01:00
Michael Klishin 2b2a7471f5 Bump jose to 1.10.1
Primarily to reduce confusion about its licensing.
jose has been MIT-licensed since Dec 2018.
2020-03-09 11:04:25 +03:00
Gerhard Lazu 197e077078 Update rabbitmq-components.mk 2020-03-06 09:19:13 +00:00
Gerhard Lazu 4f32940765 Update erlang.mk 2020-03-06 09:17:19 +00:00
Jean-Sébastien Pédron 65238638fc Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:27 +01:00
Jean-Sébastien Pédron 4cb2d24b0c Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:13 +01:00
Jean-Sébastien Pédron 4eb61c19f0 Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:37 +01:00
Michael Klishin 8d4b3439f9 Avoid using erlang:get_stacktrace/0 for improved OTP 23/24 compat 2020-02-27 22:22:32 +03:00
Gerhard Lazu 0acac56586 Update rabbitmq-components.mk 2020-02-11 15:31:41 +00:00
Arnaud Cogoluègnes 80dfdc64df Use {pem, <<PEM>>} style configuration for asymmetric keys sample
This avoids having to mention fields like "n" (modulus) and "e"
(exponent) which are difficult to extract from the public key and then
encode.
2020-01-15 15:35:04 +01:00
Michael Klishin e4870b9c70 (c) bump 2019-12-29 05:50:24 +03:00
Jean-Sébastien Pédron a58c3f5f48 Git: Ignore copied CLI 2019-12-12 13:24:26 +01:00
Jean-Sébastien Pédron aef9207977 Update rabbitmq-components.mk 2019-12-12 13:14:52 +01:00
Anton Dalgren c4789ac25a Added missing comma in configuration example 2019-12-09 11:51:12 +01:00
Arnaud Cogoluègnes e936e82292 Move up aud/scope binary to array conversion
This way scope is always an array which makes it easier for downstream
processing.

References #41
2019-12-05 14:26:17 +01:00
Arnaud Cogoluègnes cb3fe65a07 Polish extra scopes source tests
Set up environment in init/end test functions, change some scopes in
test to make assertion more obvious.

References #41
2019-12-05 14:10:21 +01:00
Michael Klishin d9073fba8d Make this code less unorthodox, take 2
Also improves naming a bit.
2019-12-05 10:28:37 +03:00
Michael Klishin 7d2b069cbd Make this code less unorthodox, take 1 2019-12-05 10:12:51 +03:00
Michal Papuga 9a230b0aeb Resolve PR comments - rename variables. 2019-12-05 05:29:12 +01:00
Michal Papuga 3a04670a45 Implement support for gathering scopes from predefined JWT section and combine them with existing ones in post_process_payload () method. Create unit_SUITE and system_SUITE test cases. 2019-12-04 19:14:08 +01:00
Michael Klishin 1e0cb18279 Revert "Update rabbitmq-components.mk"
This reverts commit 157e9ce515.

We want to continue using Ra master on RabbitMQ master branches.
2019-10-30 12:03:53 +03:00
Michael Klishin 157e9ce515 Update rabbitmq-components.mk 2019-10-30 12:03:07 +03:00
kjnilsson 764725fe71 Update rabbitmq-components.mk 2019-09-13 10:24:14 +01:00
kjnilsson 60430d7a59 Update rabbitmq-components.mk 2019-09-04 10:30:52 +01:00
Michael Klishin 6c513b4a4e Merge pull request #38 from rabbitmq/rabbitmq-auth-backend-oauth2-37-keycloak-support
Support Keycloak token format in post-processing
2019-08-22 08:20:49 +07:00
Michael Klishin d4e3706937 Add management config settings to the symmetric key demo 2019-08-22 04:03:04 +03:00
Arnaud Cogoluègnes f3405e46fa Support Keycloak token format in post-processing
Scopes from the "authorization" field are extracted and replace the
value of the "scope" key in the parsed and processed token.

Fixes #37
2019-08-21 10:34:20 +02:00
Michael Klishin 9ea2c69588 Update rabbitmq-components.mk 2019-08-11 01:47:48 +10:00
Jean-Sébastien Pédron 420e482687 Update erlang.mk 2019-08-02 09:53:31 +02:00
Michael Klishin 838618de0c Update rabbitmq-components.mk 2019-08-01 17:13:09 +03:00
Arnaud Cogoluègnes 16968e8c66 Remove unnecessary console output 2019-07-24 09:04:58 +02:00
Luke Bakken f01f0fe023 Add GitHub templates
And LICENSE file.

Fixes #33
2019-07-18 14:28:41 -07:00
Michael Klishin 01e05dbb77 Add Code of Conduct and Contributing files
Standard for tier 1 RabbitMQ plugins.

References #33.
2019-07-18 17:05:42 +03:00
Arnaud Cogoluègnes 49f1b6b043 Support simple strings in aud and scope fields
Simple strings are supported, strings with spaces are split into arrays.
The strings are split upfront, the Erlang representation of the token
does not change, to avoid impacts in the code downstream.

Fixes #24
2019-07-12 09:45:02 +02:00
Michael Klishin 5f44635d05 uaa_jwt:get_jwk/1: return an error if there are no configured signing keys
Closes #30.
2019-07-10 18:52:59 +03:00