Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Giving Apollo Topic based Authorization for user

$
0
0
Hai,
Am using Apollo broker with a ActiveMQ Connector. I want to create a topic
based authorization for user(say user2 to topic 'test-topic').I Have used
the access_rule in the apollo.xml for giving the authorization like this:

<broker>
(group access_rules)
<virtual_host id="mybroker">
<access_rule allow="user2" action="receive consume" kind="test-topic"
id="user2" />
</virtual_host>
</broker>

But in the apollo.log its showing that the rule is ignored :

2014-04-05 11:45:30,800 | WARN | Ignoring invalid access rule. Unknown kind
'test-topic' <access_rule allow='user2' action='receive consume'
kind='test-topic' id='test-topic'/> | console | hawtdispatch-DEFAULT-2

Please Help !!

Viewing all articles
Browse latest Browse all 5648

Trending Articles