From the course: Learning RabbitMQ
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Authorize or block application actions - RabbitMQ Tutorial
From the course: Learning RabbitMQ
Authorize or block application actions
- After we verify who is connecting with our RabbitMQ instance, we need to determine what they are allowed to do. This is called authorization. RabbitMQ has two resources that can be manipulated, exchanges and queues. The operations that can be performed on these resources are configure, write, and read. It's important to add that RabbitMQ can cache permissions per connection or per channel so it's often necessary to reconnect. This isn't an issue in our web application because we connect on every request from the browser, but it might be in applications that keep the connection open for a longer time. In the RabbitMQ documentation, there is an overview of what permissions on what type of resources are required to be able to perform an operation. If we scroll down, we'll find a useful overview of the necessary permissions. For example, for an application to use the basic.publish operation, it must have write operations…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Set up and use authentication3m 51s
-
(Locked)
Authorize or block application actions4m 44s
-
(Locked)
Validate user IDs3m 18s
-
Working with dead letter exchanges8m 3s
-
(Locked)
Tracing message contents for troubleshooting4m 6s
-
(Locked)
Challenge: Show chat users38s
-
(Locked)
Solution: Show chat users3m 15s
-
(Locked)
-