Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract MQTT client_id from client certificate and propagate to authnz backends #11702

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

MarcialRosales
Copy link
Contributor

@MarcialRosales MarcialRosales commented Jul 12, 2024

Proposed Changes

Address issue #9323

This plugin is accompanied by a docs PR: rabbitmq/rabbitmq-website#1976

Types of Changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bug fix (non-breaking change which fixes issue #NNNN)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause an observable behavior change in existing systems)
  • Documentation improvements (corrections, new content, etc)
  • Cosmetic change (whitespace, formatting, etc)
  • Build system and/or CI

@MarcialRosales MarcialRosales force-pushed the mqtt-extract-client-id-from-cert branch from 1fea703 to f1e2ac0 Compare July 15, 2024 08:51
@MarcialRosales MarcialRosales self-assigned this Jul 15, 2024
@MarcialRosales MarcialRosales force-pushed the mqtt-extract-client-id-from-cert branch 3 times, most recently from 51ab5d4 to 841c245 Compare July 16, 2024 08:39
@MarcialRosales MarcialRosales changed the title Extract MQTT client_id from client certificate Extract MQTT client_id from client certificate and propagate to authnz backends Jul 16, 2024
@MarcialRosales MarcialRosales marked this pull request as ready for review July 16, 2024 08:40
@MarcialRosales MarcialRosales force-pushed the mqtt-extract-client-id-from-cert branch from 841c245 to 9329e71 Compare July 16, 2024 14:55
@mergify mergify bot added the bazel label Jul 16, 2024
@MarcialRosales MarcialRosales force-pushed the mqtt-extract-client-id-from-cert branch from f06bece to 5b5f2c4 Compare July 17, 2024 08:13
deps/rabbitmq_mqtt/priv/schema/rabbitmq_mqtt.schema Outdated Show resolved Hide resolved
deps/rabbitmq_mqtt/src/rabbit_mqtt_processor.erl Outdated Show resolved Hide resolved
@@ -66,8 +66,14 @@ sub_groups() ->
ssl_user_vhost_parameter_mapping_success,
ssl_user_vhost_parameter_mapping_not_allowed,
ssl_user_vhost_parameter_mapping_vhost_does_not_exist,
ssl_user_cert_vhost_mapping_takes_precedence_over_port_vhost_mapping
ssl_user_cert_vhost_mapping_takes_precedence_over_port_vhost_mapping
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove additional white space at end of line

deps/rabbitmq_mqtt/test/auth_SUITE.erl Outdated Show resolved Hide resolved
@ansd ansd added this to the 4.0.0 milestone Jul 17, 2024
@MarcialRosales MarcialRosales force-pushed the mqtt-extract-client-id-from-cert branch from 31e9c8a to c78710f Compare July 17, 2024 14:20
@MarcialRosales MarcialRosales requested a review from ansd July 18, 2024 15:58
@MarcialRosales MarcialRosales force-pushed the mqtt-extract-client-id-from-cert branch from c758ad8 to 299f534 Compare July 23, 2024 08:03
@MarcialRosales MarcialRosales requested a review from ansd July 24, 2024 04:34
@michaelklishin michaelklishin force-pushed the mqtt-extract-client-id-from-cert branch from 299f534 to 5fc07dd Compare July 25, 2024 12:24
@michaelklishin
Copy link
Member

The forced push was a rebase.

@michaelklishin michaelklishin force-pushed the mqtt-extract-client-id-from-cert branch from 5fc07dd to 3015f3b Compare August 2, 2024 18:10
@michaelklishin
Copy link
Member

@MarcialRosales can you please rebase this? The key conflict in the MQTT processor module comes from ba14b15.

@MarcialRosales MarcialRosales force-pushed the mqtt-extract-client-id-from-cert branch from 3015f3b to 1abc4ed Compare August 30, 2024 11:02
@michaelklishin michaelklishin merged commit 94baa7c into main Sep 3, 2024
197 checks passed
@michaelklishin michaelklishin deleted the mqtt-extract-client-id-from-cert branch September 3, 2024 14:53
michaelklishin added a commit that referenced this pull request Sep 3, 2024
Extract MQTT client_id from client certificate and propagate to authnz backends (backport #11702)
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants