--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/ae37a17f-e9b0-4101-a3b4-a4714964d06bn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/qZx62Kf9k6w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/CAOZE12pSYq6XzkXG%3D7FRm2BqatJxuXn9K9YfJskUZeTEcueUAw%40mail.gmail.com.
Please don't bump your messages.
RabbitMQ does not "re check" authorization once a connection has been established because of the performance implications.
In your case one option would be to enumerate the open connections and force-close them using the HTTP API when permissions change.
If your STOMP connection has a unique name you should be able to close just the one connection.
Your STOMP applications would then re-establish their connection and authorization would happen again.
--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/qZx62Kf9k6w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/8680b080-32ed-4144-b8cd-098aaed4667fn%40googlegroups.com.
It only seems to have the behavior of not re-checking when delivering messages to a subscription. I do realize there may be some technical difficulties of when to trigger a re-check, but there does seem to be a precedent in place for not 'remembering' auth in some cases. I don't even need real time action here, I'd be happy if rabbit would just re-auth open STOMP subscriptions every hour or so. As far as performance, I'm using the cached back end auth to wrap my HTTP backend auth, so the performance implications are minimalized. How would I go about suggesting this as a formalized enhancement request? I just sold a client on using Rabbit and when I told them it would leave STOMP subs open for all time so long as the user never closed their browser and never check them again, they looked at me funny :)
If your STOMP connection has a unique name you should be able to close just the one connection.How would I go about determining that? I am using a unique username for each connection if that's what you mean. Or better yet, if you have a handy link to the docs in question, I can dig around there for answers.
RabbitMQ never checks auth when delivering a message to a consumer who has subscribed to a queue via basic.consume (which is what a STOMP subscription does under the hood). By that time it is assumed that the client has authenticated successfully and while the consumer is active no further checks are necessary. This applies to all protocols since all piggyback on AMQP and AMQP does not re-auth for message delivery.
You can open an issue here with an enhancement request - https://github.com/rabbitmq/rabbitmq-server
Please note, however, that the RabbitMQ core team is small and must prioritize other work and work from paying customers.
AMQP supports a connection name property when a connection is established but it does not appear that this property is available for STOMP connections ... so much for that idea.
--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/qZx62Kf9k6w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/39462047-57cd-43cd-bba1-9aa03c92fd4en%40googlegroups.com.
What is this "STOMP JS" client
what are some specific actionable steps our team can take in order to reproduce?
We do not guess in this community,
please help others help you.
Deleting a user will close all of its connections in RabbitMQ versions newer than 3.7.0. If you use unique usernames already, there is no need to revoke any permissions,
simply delete it and the client will be disconnected and won't be able to re-connect.
There is a plugin [1] that caches authZ operation results for a period of time
" As far as performance, I'm using the cached back end auth to wrap my HTTP backend auth, so the performance implications are minimalized."
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/d9168282-cd0c-4285-922a-9a6683449b55n%40googlegroups.com.