Re: User privileges exception thrown from jaas / Authorization plugin format for jaas- artemis

2016-11-24 Thread anton.mithun
I already had the Authentication plugin in my broker.xml I thought JAAS would need a different authentication setup. All I had to do was to assign role during login. principals.add(new RolePrincipal("amq")); Than

Re: User privileges exception thrown from jaas / Authorization plugin format for jaas- artemis

2016-11-23 Thread anton.mithun
Thank You Justin -- View this message in context: http://activemq.2283324.n4.nabble.com/User-privileges-exception-thrown-from-jaas-Authorization-plugin-format-for-jaas-artemis-tp4719410p4719473.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

User privileges exception thrown from jaas / Authorization plugin format for jaas- artemis

2016-11-23 Thread anton.mithun
I tried to implement a custom JAAS authentication module with apache-artemis-1.3.0. In bootstrap.xml, In login.config, CustomLogin { com.activemq.core.CustomLoginModule Sufficient core.url="http://localhost:8080/jaas";; }; Call flow seems to get executed properly. LoginModule.l

Re: Links to any introductory articles for jaas - artemis integration

2016-11-23 Thread anton.mithun
Thanks a lot Justin for the quick precise reply. -- View this message in context: http://activemq.2283324.n4.nabble.com/Links-to-any-introductory-articles-for-jaas-artemis-integration-tp4719375p4719394.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Links to any introductory articles for jaas - artemis integration

2016-11-22 Thread anton.mithun
Hi, I am trying to use an existing authenticating mechanism via jaas. I am using apache-artemis-1.3.0. And in the Apache ActiveMQ Artemis User Manual, it has mentioned about jaas based example. But there is none about jaas in the example directory. All I could find was the security one, but it doe

Re: Artemis - Load balance setup - ActiveMQNonExistentQueueException

2016-08-30 Thread anton.mithun
We are using artemis 1.2.0 --- node1 - broker.xml - http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="urn:activemq /schema/artemis-configuration.xsd"> 0.0.0.0 true

Artemis - Load balance setup - ActiveMQNonExistentQueueException

2016-08-25 Thread anton.mithun
I am trying to set up a load-balance with two artemis live nodes, lets say node1 and node2. And I am sending messages to a queue called "DemoQueue" in node1. A customer subscribes to node1 DemoQueue and receives the messages properly. But when a customer subscribes to node2 DemoQueue, its says Act

ActiveMQ Artemis Reconnection/Disconnect notification.

2016-07-22 Thread anton.mithun
Hi, Artemis connection setup is done during the initial bean loading. connectionFactory = new ActiveMQConnectionFactory(connectionUrl); connectionFactory.setReconnectAttempts(reconnectAttempts); connection = connectionFactory.createConnection(username, passwo