[rabbitmq-discuss] Multi vhost access with static LDAP
Simon MacMullen
simon at rabbitmq.com
Fri Oct 11 16:39:07 BST 2013
On 11/10/2013 4:26PM, MyOwnFitness wrote:
> There is a naming convention where the users will have LDAP accounts
> like, TestUser1 and 2 and TestPub1 and 2. Is there a way to grant
> access to a certain vhost based on Naming convention?
You could do something like:
{match, {string, "${vhost}"}, {string, "^${username}-host$"}}
So that TestUser1 can log in to TestUser1-host and so on.
> Also, on that
> same note could you have multiple vhost sections in the config?
No. Like I said, in 3.2.0 you will be able to use boolean ops to
simulate this.
Cheers, Simon
--
Simon MacMullen
RabbitMQ, Pivotal
More information about the rabbitmq-discuss
mailing list