Description
In addition to the principal db specified at the broker level, VirtualHostImpl tries to support authentication at virtualhost level. This concept is flawed as in Qpid, username and password must be considered, before virtual host.
i.e.
<virtualhost> <name>localhost</name> <localhost> .... <security> <!-- Would need protocol changes to allow this--> <authentication> <name>passwordfile</name> <!-- Currently this can't be used as Vhost isn't specified at connection start only connection open --> <mechanism>PLAIN</mechanism> </authentication> .....
The redundant implementation in VirtualHostImpl should be removed.