activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Master/Slave and authentication/authorization
Date Mon, 12 Jun 2006 08:06:17 GMT
On 6/12/06, ENP <prokopiev@stc.donpac.ru> wrote:
>
> Hi,
>
> Can I use jaasAuthenticationPlugin and authorizationPlugin with Master/Slave
> configuration?

Yes

> Where can I define users,passwords,groups and authorization
> policy?

Users, passwords & groups are defined in JAAS

See http://incubator.apache.org/activemq/security.html

and the referenced example
http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/login.config

the users and groups are define dhere
http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/security/


> Need I configure only master or both?

Both

> What will be happen after
> master failure in first case?

It fails over to the slave. All client connections will be
re-authenticated & re-authorized on the slave.

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message