diff options
| author | Arnaud Cogoluègnes <acogoluegnes@gmail.com> | 2019-05-29 10:26:52 +0200 |
|---|---|---|
| committer | Arnaud Cogoluègnes <acogoluegnes@gmail.com> | 2019-05-29 10:26:52 +0200 |
| commit | f843f1b40dd9bed0c7341cc642e677c05a5203fa (patch) | |
| tree | f1a6fd4ba7933518b69ee440af7cef64d63248c4 /include | |
| parent | fcae7368286fa50b7cacfb34509eff07362e4df9 (diff) | |
| download | rabbitmq-server-git-f843f1b40dd9bed0c7341cc642e677c05a5203fa.tar.gz | |
Propagate protocol-specific context to authorization
Propagate protocol-specific context like MQTT client ID to
authentication and authorization backends. The propagation was already
there for topic authorization. Resource check needed propagation and a
new argument in the backend function. Virtual host check just needed
propagation, as there was already a context parameter (for peer
address).
A context parameter and propagation was already there for login-related
functions.
Unfortunately the context API is not fully consistent, due to historical
reasons: proplists are the historical data structure, maps are used
whenever possible.
References #1767
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
