To take it a bit further, I'd like to create something like a
TextBasedAuthorizationMap and have most of the functionality in there.
This would allow for different back-ends (like a database) to be
attached.

On 8/18/06, Sepand M <[EMAIL PROTECTED]> wrote:
Hi everyone,

I've been looking through the code and have noticed that the only
AuthorizationMaps are DefaultAuthorizationMap and
SimpleAuthorizationMap. And neither of these allows for text-based
configuration of access.

I'm wondering if such a thing exists and if I should create one if it doesn't.
I'm thinking the config file would be something like:


Queue:>::group:admins
Queue:USERS>::group:users
Topic:>::group:admins
...

where each line is an addition to the map and each line is made of:
<Queue/Topic>:<destination name>::<group/user
>:<group/user name>

(the delimitor choice is open for debate)

Anyone agree?

Reply via email to