GitHub user scholzj opened a pull request:
https://github.com/apache/qpid-dispatch/pull/164
DISPATCH-780 - Send amqp:unauthorized-access when link is disallowed
because of target / source name
Added a new parameter to methods `_qd_policy_deny_amqp_link`,
`_qd_policy_deny_amqp_sender_link` and `_qd_policy_deny_amqp_receiver_link`.
This allows to pass the correct error condition from
`qd_policy_approve_amqp_sender_link` or `qd_policy_approve_amqp_receiver_link`
and send it to thew client when the link is closed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/scholzj/qpid-dispatch DISPATCH-780
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/164.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #164
----
commit 191843190f7a535ff707a5209a166248f24e64aa
Author: Jakub Scholz <[email protected]>
Date: 2017-05-25T08:00:11Z
Use _qd_policy_deny_amqp_sender_link when denying sender link
commit 6e09494502b9abd3d56f32a782b28e366de8da03
Author: Jakub Scholz <[email protected]>
Date: 2017-05-25T08:22:55Z
Use proper error condition when the link is denied
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]